PHP 클래스 Thruway\Authentication\AuthenticationDetails

상속: implements JsonSerializable
파일 보기 프로젝트 열기: voryx/thruway 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
addAuthRole ( $authRole )
createAnonymous ( ) : AuthenticationDetails Create anonymous
getAuthExtra ( ) : stdClass
getAuthId ( ) : mixed Get authentication ID
getAuthMethod ( ) : mixed Get authentication method
getAuthRole ( ) : mixed
getAuthRoles ( ) : array
getChallenge ( ) : mixed Get challenge data
getChallengeDetails ( ) : mixed Get challenge details
hasAuthRole ( $authRole ) : boolean
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON
setAuthExtra ( stdClass $authExtra )
setAuthId ( mixed $authId ) Set authentication ID
setAuthMethod ( mixed $authMethod ) Set authentication method
setAuthRoles ( array $authRoles )
setChallenge ( mixed $challenge ) Set challenge info
setChallengeDetails ( mixed $challengeDetails ) Set challenge details

메소드 상세

__construct() 공개 메소드

public __construct ( )

addAuthRole() 공개 메소드

public addAuthRole ( $authRole )
$authRole

createAnonymous() 공개 정적인 메소드

Create anonymous
public static createAnonymous ( ) : AuthenticationDetails
리턴 AuthenticationDetails

getAuthExtra() 공개 메소드

public getAuthExtra ( ) : stdClass
리턴 stdClass

getAuthId() 공개 메소드

Get authentication ID
public getAuthId ( ) : mixed
리턴 mixed

getAuthMethod() 공개 메소드

Get authentication method
public getAuthMethod ( ) : mixed
리턴 mixed

getAuthRole() 공개 메소드

public getAuthRole ( ) : mixed
리턴 mixed

getAuthRoles() 공개 메소드

public getAuthRoles ( ) : array
리턴 array

getChallenge() 공개 메소드

Get challenge data
public getChallenge ( ) : mixed
리턴 mixed

getChallengeDetails() 공개 메소드

Get challenge details
public getChallengeDetails ( ) : mixed
리턴 mixed

hasAuthRole() 공개 메소드

public hasAuthRole ( $authRole ) : boolean
$authRole
리턴 boolean

jsonSerialize() 공개 메소드

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON
public jsonSerialize ( ) : mixed
리턴 mixed data which can be serialized by json_encode, which is a value of any type other than a resource.

setAuthExtra() 공개 메소드

public setAuthExtra ( stdClass $authExtra )
$authExtra stdClass

setAuthId() 공개 메소드

Set authentication ID
public setAuthId ( mixed $authId )
$authId mixed

setAuthMethod() 공개 메소드

Set authentication method
public setAuthMethod ( mixed $authMethod )
$authMethod mixed

setAuthRoles() 공개 메소드

public setAuthRoles ( array $authRoles )
$authRoles array

setChallenge() 공개 메소드

Set challenge info
public setChallenge ( mixed $challenge )
$challenge mixed

setChallengeDetails() 공개 메소드

Set challenge details
public setChallengeDetails ( mixed $challengeDetails )
$challengeDetails mixed