You are here

public function Keycloak::getEndpoints in Keycloak OpenID Connect 8

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

1 call to Keycloak::getEndpoints()
Keycloak::authorize in src/Plugin/OpenIDConnectClient/Keycloak.php
Redirects the user to the authorization endpoint.

File

src/Plugin/OpenIDConnectClient/Keycloak.php, line 360

Class

Keycloak
OpenID Connect client for Keycloak.

Namespace

Drupal\keycloak\Plugin\OpenIDConnectClient

Code

public function getEndpoints() {
  return $this->keycloak
    ->getEndpoints();
}