You are here

public function OpenIDConnectClientBase::getEndpoints in OpenID Connect / OAuth client 7

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.

Overrides OpenIDConnectClientInterface::getEndpoints

3 calls to OpenIDConnectClientBase::getEndpoints()
OpenIDConnectClientBase::authorize in includes/OpenIDConnectClientBase.class.php
Redirects the user to the authorization endpoint.
OpenIDConnectClientBase::retrieveTokens in includes/OpenIDConnectClientBase.class.php
Retrieve access token and ID token.
OpenIDConnectClientBase::retrieveUserInfo in includes/OpenIDConnectClientBase.class.php
Retrieves user info: additional user profile data.
2 methods override OpenIDConnectClientBase::getEndpoints()
OpenIDConnectClientGeneric::getEndpoints in plugins/openid_connect_client/generic/OpenIDConnectClientGeneric.class.php
Returns an array of endpoints.
OpenIDConnectClientGoogle::getEndpoints in plugins/openid_connect_client/google/OpenIDConnectClientGoogle.class.php
Returns an array of endpoints.

File

includes/OpenIDConnectClientBase.class.php, line 108
Base class for OpenID Connect clients.

Class

OpenIDConnectClientBase
Base class for OpenID Connect clients.

Code

public function getEndpoints() {
  throw new Exception('Unimplemented method getEndpoints().');
}