PHP 클래스 Lcobucci\JWT\Claim\Factory

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

공개 메소드들

메소드 설명
__construct ( array $callbacks = [] ) Initializes the factory, registering the default callbacks
create ( string $name, mixed $value ) : Lcobucci\JWT\Claim Create a new claim

보호된 메소드들

메소드 설명
createContainedEqualsTo ( string $name, mixed $value ) : ContainedEqualsTo Creates a claim that can be compared (contained equals).
createContainsEqualsTo ( string $name, mixed $value ) : ContainsEqualsTo Creates a claim that can be compared (contains equals).

비공개 메소드들

메소드 설명
createBasic ( string $name, mixed $value ) : Lcobucci\JWT\Claim\Basic Creates a basic claim
createEqualsTo ( string $name, mixed $value ) : Lcobucci\JWT\Claim\EqualsTo Creates a claim that can be compared (equals)
createGreaterOrEqualsTo ( string $name, mixed $value ) : Lcobucci\JWT\Claim\GreaterOrEqualsTo Creates a claim that can be compared (greator or equals)
createLesserOrEqualsTo ( string $name, mixed $value ) : Lcobucci\JWT\Claim\LesserOrEqualsTo Creates a claim that can be compared (greator or equals)

메소드 상세

__construct() 공개 메소드

Initializes the factory, registering the default callbacks
public __construct ( array $callbacks = [] )
$callbacks array

create() 공개 메소드

Create a new claim
public create ( string $name, mixed $value ) : Lcobucci\JWT\Claim
$name string
$value mixed
리턴 Lcobucci\JWT\Claim

createContainedEqualsTo() 보호된 메소드

Creates a claim that can be compared (contained equals).
protected createContainedEqualsTo ( string $name, mixed $value ) : ContainedEqualsTo
$name string
$value mixed
리턴 ContainedEqualsTo

createContainsEqualsTo() 보호된 메소드

Creates a claim that can be compared (contains equals).
protected createContainsEqualsTo ( string $name, mixed $value ) : ContainsEqualsTo
$name string
$value mixed
리턴 ContainsEqualsTo