public function JwtTranscoderInterface::decode in JSON Web Token Authentication (JWT) 8.0
Same name and namespace in other branches
- 8 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.
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 23
Class
- JwtTranscoderInterface
- Interface JwtTranscoderInterface.
Namespace
Drupal\jwt\TranscoderCode
public function decode($jwt);