Свойство | Тип | Описание | |
---|---|---|---|
$isAuthenticated | boolean | ||
$providerResolver | The provider resolver | ||
$providers | array | ||
$requestPatternResolver | The request pattern resolver | ||
$securityContext | The security context of the current request | ||
$securityLogger | Neos\Flow\Log\SecurityLoggerInterface | ||
$session | Neos\Flow\Session\SessionInterface | ||
$tokens | array |
Метод | Описание | |
---|---|---|
__construct ( |
||
authenticate ( ) : void | Tries to authenticate the tokens in the security context (in the given order) with the available authentication providers, if needed. | |
getProviders ( ) : array | Returns all configured authentication providers | |
getSecurityContext ( ) : |
Returns the security context | |
getTokens ( ) : array | Returns clean tokens this manager is responsible for. | |
injectSettings ( array $settings ) : void | Inject the settings and does a fresh build of tokens based on the injected settings | |
isAuthenticated ( ) : boolean | Checks if one or all tokens are authenticated (depending on the authentication strategy). | |
logout ( ) : void | Logout all active authentication tokens | |
setSecurityContext ( |
Sets the security context |
Метод | Описание | |
---|---|---|
buildProvidersAndTokensFromConfiguration ( array $providerConfigurations ) : void | Builds the provider and token objects based on the given configuration | |
emitAuthenticatedToken ( Neos\Flow\Security\Authentication\TokenInterface $token ) : void | Signals that the specified token has been successfully authenticated. | |
emitLoggedOut ( ) : void | Signals that all active authentication tokens have been invalidated. |
public __construct ( |
||
$providerResolver | The provider resolver | |
$requestPatternResolver | The request pattern resolver |
public authenticate ( ) : void | ||
Результат | void |
protected buildProvidersAndTokensFromConfiguration ( array $providerConfigurations ) : void | ||
$providerConfigurations | array | The configured provider settings |
Результат | void |
protected emitAuthenticatedToken ( Neos\Flow\Security\Authentication\TokenInterface $token ) : void | ||
$token | Neos\Flow\Security\Authentication\TokenInterface | The token which has been authenticated |
Результат | void |
protected emitLoggedOut ( ) : void | ||
Результат | void |
public getProviders ( ) : array | ||
Результат | array | Array of \Neos\Flow\Security\Authentication\AuthenticationProviderInterface |
public getSecurityContext ( ) : |
||
Результат | $securityContext The security context of the current request |
public injectSettings ( array $settings ) : void | ||
$settings | array | The settings |
Результат | void |
public isAuthenticated ( ) : boolean | ||
Результат | boolean |
public setSecurityContext ( |
||
$securityContext | The security context of the current request | |
Результат | void |
protected AuthenticationProviderResolver,Neos\Flow\Security\Authentication $providerResolver | ||
Результат |
protected RequestPatternResolver,Neos\Flow\Security $requestPatternResolver | ||
Результат |
protected Context,Neos\Flow\Security $securityContext | ||
Результат |
protected SecurityLoggerInterface,Neos\Flow\Log $securityLogger | ||
Результат | Neos\Flow\Log\SecurityLoggerInterface |
protected SessionInterface,Neos\Flow\Session $session | ||
Результат | Neos\Flow\Session\SessionInterface |