PHP 클래스 Lcobucci\JWT\ValidationData

부터: 2.0.0
저자: Luís Otávio Cobucci Oblonczyk ([email protected])
파일 보기 프로젝트 열기: lcobucci/jwt 1 사용 예제들

공개 메소드들

메소드 설명
__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