메소드 | 설명 | |
---|---|---|
__toString ( ) : string | Returns a string representation of the token for logging purposes. | |
getAccount ( ) : |
Returns the account if one is authenticated, NULL otherwise. | |
getAuthenticationEntryPoint ( ) : Neos\Flow\Security\Authentication\EntryPointInterface | Returns the configured authentication entry point, NULL if none is available | |
getAuthenticationProviderName ( ) : string | Returns the name of the authentication provider responsible for this token | |
getAuthenticationStatus ( ) : integer | Returns the current authentication status | |
getCredentials ( ) : mixed | Returns the credentials of this token. The type depends on the provider of the token. | |
getRequestPatterns ( ) : array | Returns an array of set \Neos\Flow\Security\RequestPatternInterface, NULL if none was set | |
hasRequestPatterns ( ) : boolean | Returns TRUE if \Neos\Flow\Security\RequestPattern were set | |
isAuthenticated ( ) : boolean | Returns TRUE if this token is currently authenticated | |
setAccount ( |
Set the (authenticated) account | |
setAuthenticationEntryPoint ( Neos\Flow\Security\Authentication\EntryPointInterface $entryPoint ) : void | Sets the authentication entry point | |
setAuthenticationProviderName ( string $authenticationProviderName ) : void | Sets the name of the authentication provider responsible for this token | |
setAuthenticationStatus ( integer $authenticationStatus ) : void | Sets the authentication status. Usually called by the responsible AuthenticationManagerInterface | |
setRequestPatterns ( array $requestPatterns ) : void | Sets request patterns | |
updateCredentials ( |
Updates the authentication credentials, the authentication manager needs to authenticate this token. |
public __toString ( ) : string | ||
리턴 | string | A string representation of the token |
public getAccount ( ) : |
||
리턴 | An account object |
public getAuthenticationEntryPoint ( ) : Neos\Flow\Security\Authentication\EntryPointInterface | ||
리턴 | Neos\Flow\Security\Authentication\EntryPointInterface | The configured authentication entry point, NULL if none is available |
public getAuthenticationProviderName ( ) : string | ||
리턴 | string | The authentication provider name |
public getAuthenticationStatus ( ) : integer | ||
리턴 | integer | One of NO_CREDENTIALS_GIVEN, WRONG_CREDENTIALS, AUTHENTICATION_SUCCESSFUL, REAUTHENTICATION_NEEDED |
public getCredentials ( ) : mixed | ||
리턴 | mixed | $credentials The needed credentials to authenticate this token |
public getRequestPatterns ( ) : array | ||
리턴 | array | Array of set request patterns |
public hasRequestPatterns ( ) : boolean | ||
리턴 | boolean | True if a \Neos\Flow\Security\RequestPatternInterface was set |
public isAuthenticated ( ) : boolean | ||
리턴 | boolean | TRUE if this this token is currently authenticated |
public setAccount ( |
||
$account | An account object | |
리턴 | void |
public setAuthenticationEntryPoint ( Neos\Flow\Security\Authentication\EntryPointInterface $entryPoint ) : void | ||
$entryPoint | Neos\Flow\Security\Authentication\EntryPointInterface | The authentication entry point |
리턴 | void |
public setAuthenticationProviderName ( string $authenticationProviderName ) : void | ||
$authenticationProviderName | string | The authentication provider name |
리턴 | void |
public setAuthenticationStatus ( integer $authenticationStatus ) : void | ||
$authenticationStatus | integer | One of NO_CREDENTIALS_GIVEN, WRONG_CREDENTIALS, AUTHENTICATION_SUCCESSFUL |
리턴 | void |
public setRequestPatterns ( array $requestPatterns ) : void | ||
$requestPatterns | array | Array of \Neos\Flow\Security\RequestPatternInterface to be set |
리턴 | void |
public updateCredentials ( |
||
$actionRequest | The current request instance | |
리턴 | boolean | TRUE if this token needs to be (re-)authenticated |