PHP 인터페이스 Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface

파일 보기 프로젝트 열기: scheb/two-factor-bundle 0 사용 예제들

공개 메소드들

메소드 설명
getRequest ( ) : Request Return the request.
getSession ( ) : Symfony\Component\HttpFoundation\Session\SessionInterface Return the session.
getToken ( ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface Return the security token.
getUser ( ) : mixed Return the user object.
isAuthenticated ( ) : boolean Get authentication status.
setAuthenticated ( boolean $authenticated ) Set authentication status.
setUseTrustedOption ( boolean $useTrustedOption ) Set trusted option flag.
useTrustedOption ( ) : boolean Return true when trusted computer feature is enabled.

메소드 상세

getRequest() 공개 메소드

Return the request.
public getRequest ( ) : Request
리턴 Symfony\Component\HttpFoundation\Request

getSession() 공개 메소드

Return the session.
public getSession ( ) : Symfony\Component\HttpFoundation\Session\SessionInterface
리턴 Symfony\Component\HttpFoundation\Session\SessionInterface

getToken() 공개 메소드

Return the security token.
public getToken ( ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface
리턴 Symfony\Component\Security\Core\Authentication\Token\TokenInterface

getUser() 공개 메소드

Return the user object.
public getUser ( ) : mixed
리턴 mixed

isAuthenticated() 공개 메소드

Get authentication status.
public isAuthenticated ( ) : boolean
리턴 boolean

setAuthenticated() 공개 메소드

Set authentication status.
public setAuthenticated ( boolean $authenticated )
$authenticated boolean

setUseTrustedOption() 공개 메소드

Set trusted option flag.
public setUseTrustedOption ( boolean $useTrustedOption )
$useTrustedOption boolean

useTrustedOption() 공개 메소드

Return true when trusted computer feature is enabled.
public useTrustedOption ( ) : boolean
리턴 boolean