PHP Интерфейс Jose\Object\JWTInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getClaim ( string $key ) : mixed | null Returns the value of the payload of the specified key.
getClaims ( ) : array Returns the claims.
getPayload ( ) : mixed Returns the payload of the JWT.
hasClaim ( string $key ) : boolean
hasClaims ( ) : boolean
withPayload ( mixed $payload ) : Jose\Object\JWTInterface

Описание методов

getClaim() публичный Метод

Returns the value of the payload of the specified key.
public getClaim ( string $key ) : mixed | null
$key string The key
Результат mixed | null Payload value

getClaims() публичный Метод

Returns the claims.
public getClaims ( ) : array
Результат array Payload value

getPayload() публичный Метод

Returns the payload of the JWT.
public getPayload ( ) : mixed
Результат mixed Payload

hasClaim() публичный Метод

public hasClaim ( string $key ) : boolean
$key string The key
Результат boolean

hasClaims() публичный Метод

public hasClaims ( ) : boolean
Результат boolean

withPayload() публичный Метод

public withPayload ( mixed $payload ) : Jose\Object\JWTInterface
$payload mixed
Результат Jose\Object\JWTInterface