Свойство | Type | Description | |
---|---|---|---|
$accountIdentifier | string | ||
$authenticationProviderName | string | ||
$creationDate | DateTime | ||
$credentialsSource | string | ||
$expirationDate | DateTime | ||
$failedAuthenticationCount | integer | ||
$lastSuccessfulAuthenticationDate | DateTime | ||
$now | Neos\Flow\Utility\Now | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$policyService | |||
$roleIdentifiers | of strings | ||
$roles | array |
Méthode | Description | |
---|---|---|
__construct ( ) | Upon creation the creationDate property is initialized. | |
addRole ( |
Adds a role to this account | |
authenticationAttempted ( integer $authenticationStatus ) : void | Sets the authentication status. Usually called by the responsible \Neos\Flow\Security\Authentication\AuthenticationManagerInterface | |
getAccountIdentifier ( ) : string | Returns the account identifier | |
getAuthenticationProviderName ( ) : string | Returns the authentication provider name this account corresponds to | |
getCreationDate ( ) : DateTime | Returns the date on which this account has been created. | |
getCredentialsSource ( ) : mixed | Returns the credentials source | |
getExpirationDate ( ) : DateTime | Returns the date on which this account has expired or will expire. If no expiration date has been set, NULL is returned. | |
getFailedAuthenticationCount ( ) : integer | ||
getLastSuccessfulAuthenticationDate ( ) : DateTime | ||
getRoles ( ) : array |
Returns the roles this account has assigned | |
hasRole ( |
Return if the account has a certain role | |
isActive ( ) : boolean | Returns TRUE if it is currently allowed to use this account for authentication. | |
removeRole ( |
Removes a role from this account | |
setAccountIdentifier ( string $accountIdentifier ) : void | Set the account identifier | |
setAuthenticationProviderName ( string $authenticationProviderName ) : void | Set the authentication provider name this account corresponds to | |
setCredentialsSource ( mixed $credentialsSource ) : void | Sets the credentials source | |
setExpirationDate ( DateTime $expirationDate = null ) : void | Sets the date on which this account will become inactive | |
setRoles ( array $roles ) : void | Sets the roles for this account |
Méthode | Description | |
---|---|---|
initializeRoles ( ) : void | Initializes the roles field by fetching the role objects referenced by the roleIdentifiers |
public __construct ( ) |
public authenticationAttempted ( integer $authenticationStatus ) : void | ||
$authenticationStatus | integer | One of WRONG_CREDENTIALS, AUTHENTICATION_SUCCESSFUL |
Résultat | void |
public getAccountIdentifier ( ) : string | ||
Résultat | string | The account identifier |
public getAuthenticationProviderName ( ) : string | ||
Résultat | string | The authentication provider name |
public getCreationDate ( ) : DateTime | ||
Résultat | DateTime |
public getCredentialsSource ( ) : mixed | ||
Résultat | mixed | The credentials source |
public getExpirationDate ( ) : DateTime | ||
Résultat | DateTime |
public getFailedAuthenticationCount ( ) : integer | ||
Résultat | integer |
public getLastSuccessfulAuthenticationDate ( ) : DateTime | ||
Résultat | DateTime |
public getRoles ( ) : array |
||
Résultat | array |
protected initializeRoles ( ) : void | ||
Résultat | void |
public removeRole ( |
||
$role | ||
Résultat | void |
public setAccountIdentifier ( string $accountIdentifier ) : void | ||
$accountIdentifier | string | The account identifier |
Résultat | void |
public setAuthenticationProviderName ( string $authenticationProviderName ) : void | ||
$authenticationProviderName | string | The authentication provider name |
Résultat | void |
public setCredentialsSource ( mixed $credentialsSource ) : void | ||
$credentialsSource | mixed | The credentials source |
Résultat | void |
public setExpirationDate ( DateTime $expirationDate = null ) : void | ||
$expirationDate | DateTime | |
Résultat | void |
protected string $authenticationProviderName | ||
Résultat | string |
protected int $failedAuthenticationCount | ||
Résultat | integer |
protected DateTime $lastSuccessfulAuthenticationDate | ||
Résultat | DateTime |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Résultat | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PolicyService,Neos\Flow\Security\Policy $policyService | ||
Résultat |