public_id = $public_id; } protected function getAccessToken() { return TokenModel::where('user_name', $this->public_id)->value('access_token'); } }