PHP Класс Lcobucci\JWT\ValidationData

С версии: 2.0.0
Автор: Luís Otávio Cobucci Oblonczyk ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( integer $currentTime = null ) Initializes the object
get ( string $name ) : mixed Returns the requested item
has ( string $name ) : boolean Returns if the item is present
setAudience ( string $audience ) Configures the audience
setCurrentTime ( integer $currentTime ) Configures the time that "iat", "nbf" and "exp" should be based on
setId ( string $id ) Configures the id
setIssuer ( string | array $issuer ) Configures the issuer
setSubject ( string $subject ) Configures the subject

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

__construct() публичный метод

Initializes the object
public __construct ( integer $currentTime = null )
$currentTime integer

get() публичный метод

Returns the requested item
public get ( string $name ) : mixed
$name string
Результат mixed

has() публичный метод

Returns if the item is present
public has ( string $name ) : boolean
$name string
Результат boolean

setAudience() публичный метод

Configures the audience
public setAudience ( string $audience )
$audience string

setCurrentTime() публичный метод

Configures the time that "iat", "nbf" and "exp" should be based on
public setCurrentTime ( integer $currentTime )
$currentTime integer

setId() публичный метод

Configures the id
public setId ( string $id )
$id string

setIssuer() публичный метод

Configures the issuer
public setIssuer ( string | array $issuer )
$issuer string | array

setSubject() публичный метод

Configures the subject
public setSubject ( string $subject )
$subject string