You are here

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

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 src/Plugin/OpenIDConnectClientBase.php
Decodes ID token to access user data.

File

src/Plugin/OpenIDConnectClientInterface.php, line 86

Class

OpenIDConnectClientInterface
Defines an interface for OpenID Connect client plugins.

Namespace

Drupal\openid_connect\Plugin

Code

public function decodeIdToken($id_token);