public function OpenIDConnectFacebookClient::getEndpoints in OpenID Connect / OAuth client 8
Same name and namespace in other branches
- 2.x src/Plugin/OpenIDConnectClient/OpenIDConnectFacebookClient.php \Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectFacebookClient::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.
Overrides OpenIDConnectClientInterface::getEndpoints
1 call to OpenIDConnectFacebookClient::getEndpoints()
- OpenIDConnectFacebookClient::retrieveUserInfo in src/
Plugin/ OpenIDConnectClient/ OpenIDConnectFacebookClient.php - Implements OpenIDConnectClientInterface::retrieveUserInfo().
File
- src/
Plugin/ OpenIDConnectClient/ OpenIDConnectFacebookClient.php, line 70
Class
- OpenIDConnectFacebookClient
- Facebook OpenID Connect client.
Namespace
Drupal\openid_connect\Plugin\OpenIDConnectClientCode
public function getEndpoints() {
return [
'authorization' => 'https://www.facebook.com/' . $this->configuration['api_version'] . '/dialog/oauth',
'token' => 'https://graph.facebook.com/' . $this->configuration['api_version'] . '/oauth/access_token',
'userinfo' => 'https://graph.facebook.com/' . $this->configuration['api_version'] . '/me',
];
}