JWSTokenSupport
in package
implements
TokenTypeSupport
FinalYes
Table of Contents
Interfaces
Methods
- retrieveTokenHeaders() : void
- This method will retrieve the protect and unprotected headers of the token for the given index.
- supports() : bool
- This method returns true if the token in argument is supported, otherwise false.
Methods
retrieveTokenHeaders()
This method will retrieve the protect and unprotected headers of the token for the given index.
public
retrieveTokenHeaders(JWT $jwt, int $index, array<string|int, mixed> &$protectedHeader, array<string|int, mixed> &$unprotectedHeader) : void
Parameters
- $jwt : JWT
- $index : int
- $protectedHeader : array<string|int, mixed>
- $unprotectedHeader : array<string|int, mixed>
Tags
supports()
This method returns true if the token in argument is supported, otherwise false.
public
supports(JWT $jwt) : bool
Parameters
- $jwt : JWT