Lines Matching refs:this
31 return new Uri(sprintf('%s/oauth/authorize/', $this->baseApiUri));
39 return new Uri(sprintf('%s/oauth/token/', $this->baseApiUri));
56 $this->validateAuthorizationState($state);
59 $responseBody = $this->httpClient->retrieveResponse(
60 $this->getAccessTokenUri($code),
62 $this->getExtraOAuthHeaders(),
66 $token = $this->parseAccessTokenResponse($responseBody);
67 $this->storage->storeAccessToken($this->service(), $token);
79 'client_id' => $this->credentials->getConsumerId(),
80 'client_secret' => $this->credentials->getConsumerSecret(),
81 'redirect_uri' => $this->credentials->getCallbackUrl(),
83 'scope' => $this->scopes
86 $parameters['scope'] = implode(' ', $this->scopes);
89 $url = $this->getAccessTokenEndpoint();