Метод | Описание | |
---|---|---|
__construct ( Lcobucci\Jose\Parsing\Decoder $decoder, |
Initializes the object | |
parse ( string $jwt ) : |
Parses the JWT and returns a token |
Метод | Описание | |
---|---|---|
parseClaims ( string $data ) : array | Parses the claim set from a string | |
parseHeader ( string $data ) : array | Parses the header from a string | |
parseSignature ( array $header, string $data ) : Lcobucci\JWT\Signature | null | Returns the signature from given data | |
splitJwt ( string $jwt ) : array | Splits the JWT string into an array |
public __construct ( Lcobucci\Jose\Parsing\Decoder $decoder, |
||
$decoder | Lcobucci\Jose\Parsing\Decoder | |
$claimFactory |
protected parseClaims ( string $data ) : array | ||
$data | string | |
Результат | array |
protected parseHeader ( string $data ) : array | ||
$data | string | |
Результат | array |