Метод | Описание | |
---|---|---|
__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 |