public function JwtTranscoderInterface::decode in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 src/Transcoder/JwtTranscoderInterface.php \Drupal\jwt\Transcoder\JwtTranscoderInterface::decode()
Gets a validated JsonWebToken from an encoded JWT.
Parameters
string $jwt: The encoded JWT.
Return value
\Drupal\jwt\JsonWebToken\JsonWebTokenInterface Validated JWT.
Throws
\Drupal\jwt\Transcoder\JwtDecodeException
1 method overrides JwtTranscoderInterface::decode()
- JwtTranscoder::decode in src/
Transcoder/ JwtTranscoder.php - Gets a validated JsonWebToken from an encoded JWT.
File
- src/
Transcoder/ JwtTranscoderInterface.php, line 25
Class
- JwtTranscoderInterface
- Interface JwtTranscoderInterface.
Namespace
Drupal\jwt\TranscoderCode
public function decode($jwt);