You are here

public function WindowsAad::getEndpoints in OpenID Connect Microsoft Azure Active Directory client 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/OpenIDConnectClient/WindowsAad.php \Drupal\openid_connect_windows_aad\Plugin\OpenIDConnectClient\WindowsAad::getEndpoints()

Overrides OpenIDConnectClientBase::getEndpoints().

Return value

array Endpoint details with authorization endpoints, user access token and userinfo object.

Overrides OpenIDConnectClientInterface::getEndpoints

2 calls to WindowsAad::getEndpoints()
WindowsAad::retrieveTokens in src/Plugin/OpenIDConnectClient/WindowsAad.php
Implements OpenIDConnectClientInterface::retrieveIDToken().
WindowsAad::retrieveUserInfo in src/Plugin/OpenIDConnectClient/WindowsAad.php
Implements OpenIDConnectClientInterface::retrieveUserInfo().

File

src/Plugin/OpenIDConnectClient/WindowsAad.php, line 150

Class

WindowsAad
Generic OpenID Connect client.

Namespace

Drupal\openid_connect_windows_aad\Plugin\OpenIDConnectClient

Code

public function getEndpoints() {
  return [
    'authorization' => $this->configuration['authorization_endpoint_wa'],
    'token' => $this->configuration['token_endpoint_wa'],
    'userinfo' => $this->configuration['userinfo_endpoint_wa'],
  ];
}