PHP 인터페이스 Neos\Flow\Security\Authentication\AuthenticationManagerInterface

Has to add a TokenInterface to the security context Might set a UserDetailsService, RequestPattern and AuthenticationEntryPoint (from configuration).
파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
authenticate ( ) : void Tries to authenticate the tokens in the security context, if needed.
getProviders ( ) : array Returns all configured authentication providers
getSecurityContext ( ) : Context Returns the security context
getTokens ( ) : array Returns the tokens this manager is responsible for.
isAuthenticated ( ) : boolean Checks if at least one token is authenticated
logout ( ) : void Logs all active authentication tokens out
setSecurityContext ( Context $securityContext ) : void Sets the security context

메소드 상세

authenticate() 공개 메소드

(Have a look at the Authentication\TokenManager for an implementation example)
public authenticate ( ) : void
리턴 void

getProviders() 공개 메소드

Returns all configured authentication providers
public getProviders ( ) : array
리턴 array Array of \Neos\Flow\Security\Authentication\AuthenticationProviderInterface

getSecurityContext() 공개 메소드

Returns the security context
public getSecurityContext ( ) : Context
리턴 Neos\Flow\Security\Context $securityContext The security context of the current request

getTokens() 공개 메소드

Note: The order of the tokens in the array is important, as the tokens will be authenticated in the given order.
public getTokens ( ) : array
리턴 array

isAuthenticated() 공개 메소드

Checks if at least one token is authenticated
public isAuthenticated ( ) : boolean
리턴 boolean

logout() 공개 메소드

Logs all active authentication tokens out
public logout ( ) : void
리턴 void

setSecurityContext() 공개 메소드

Sets the security context
public setSecurityContext ( Context $securityContext ) : void
$securityContext Neos\Flow\Security\Context The security context of the current request
리턴 void