0 follower

Interface Yiisoft\Auth\Jwt\TokenRepositoryInterface

Implemented byYiisoft\Auth\Jwt\TokenRepository

Token repository is getting a list of claims for a token.

Public Methods

Hide inherited methods

Method Description Defined By
getClaims() Get claims from a token. Yiisoft\Auth\Jwt\TokenRepositoryInterface

Method Details

Hide inherited methods

getClaims() public abstract method

Get claims from a token.

Claims are statements about an entity (typically, the user) and additional data.

public abstract array|null getClaims ( string $token, string|null &$format null )
$token string

Token to get claims from.

$format string|null

                public function getClaims(string $token, ?string &$format = null): ?array;