You are here

public function OpenIDConnectClientInterface::decodeIdToken in OpenID Connect / OAuth client 7

Decodes ID token to access user data.

Parameters

string $id_token: The encoded ID token containing the user data.

Return value

array User identity information.

1 method overrides OpenIDConnectClientInterface::decodeIdToken()
OpenIDConnectClientBase::decodeIdToken in includes/OpenIDConnectClientBase.class.php
Decodes ID token to access user data.

File

includes/OpenIDConnectClientInterface.class.php, line 124
Interface to implement OpenID Connect clients.

Class

OpenIDConnectClientInterface
Interface of the OpenID Connect client.

Code

public function decodeIdToken($id_token);