public function JwtTranscoderInterface::encode in JSON Web Token Authentication (JWT) 8.0
Same name and namespace in other branches
- 8 src/Transcoder/JwtTranscoderInterface.php \Drupal\jwt\Transcoder\JwtTranscoderInterface::encode()
Encodes a JsonWebToken.
Parameters
\Drupal\jwt\JsonWebToken\JsonWebTokenInterface $jwt: A JWT.
Return value
string The encoded JWT.
1 method overrides JwtTranscoderInterface::encode()
- JwtTranscoder::encode in src/
Transcoder/ JwtTranscoder.php - Encodes a JsonWebToken.
File
- src/
Transcoder/ JwtTranscoderInterface.php, line 34
Class
- JwtTranscoderInterface
- Interface JwtTranscoderInterface.
Namespace
Drupal\jwt\TranscoderCode
public function encode(JsonWebTokenInterface $jwt);