You are here

public function OpenIDConnectClientInterface::getEndpoints in OpenID Connect / OAuth client 8

Same name and namespace in other branches
  1. 2.x src/Plugin/OpenIDConnectClientInterface.php \Drupal\openid_connect\Plugin\OpenIDConnectClientInterface::getEndpoints()

Returns an array of endpoints.

Return value

array An array with the following keys:

  • authorization: The full url to the authorization endpoint.
  • token: The full url to the token endpoint.
  • userinfo: The full url to the userinfo endpoint.
3 calls to OpenIDConnectClientInterface::getEndpoints()
OpenIDConnectClientBase::authorize in src/Plugin/OpenIDConnectClientBase.php
Redirects the user to the authorization endpoint.
OpenIDConnectClientBase::retrieveTokens in src/Plugin/OpenIDConnectClientBase.php
Retrieve access token and ID token.
OpenIDConnectClientBase::retrieveUserInfo in src/Plugin/OpenIDConnectClientBase.php
Retrieves user info: additional user profile data.
6 methods override OpenIDConnectClientInterface::getEndpoints()
OpenIDConnectFacebookClient::getEndpoints in src/Plugin/OpenIDConnectClient/OpenIDConnectFacebookClient.php
Returns an array of endpoints.
OpenIDConnectGenericClient::getEndpoints in src/Plugin/OpenIDConnectClient/OpenIDConnectGenericClient.php
Returns an array of endpoints.
OpenIDConnectGithubClient::getEndpoints in src/Plugin/OpenIDConnectClient/OpenIDConnectGithubClient.php
Returns an array of endpoints.
OpenIDConnectGoogleClient::getEndpoints in src/Plugin/OpenIDConnectClient/OpenIDConnectGoogleClient.php
Returns an array of endpoints.
OpenIDConnectLinkedinClient::getEndpoints in src/Plugin/OpenIDConnectClient/OpenIDConnectLinkedinClient.php
Returns an array of endpoints.

... See full list

File

src/Plugin/OpenIDConnectClientInterface.php, line 24

Class

OpenIDConnectClientInterface
Defines an interface for OpenID Connect client plugins.

Namespace

Drupal\openid_connect\Plugin

Code

public function getEndpoints();