MfaProviderRegistry
Registry for configuration providers which is called by the ConfigurationProviderPass
should only be used by the TYPO3 Core
Table of Contents
Properties
- $providers : array<string|int, MfaProviderManifestInterface>
Methods
- allowedProvidersItemsProcFunc() : void
- getActiveProviders() : array<string|int, MfaProviderManifestInterface>
- Get all active providers for the given user
- getFirstAuthenticationAwareProvider() : MfaProviderManifestInterface
- Get the first provider for the user which can be used for authentication.
- getLockedProviders() : array<string|int, MfaProviderManifestInterface>
- Get all locked providers for the given user
- getProvider() : MfaProviderManifestInterface
- getProviders() : array<string|int, mixed>
- hasActiveProviders() : bool
- Whether the given user has active providers
- hasLockedProviders() : bool
- Whether the given user has locked providers
- hasProvider() : bool
- hasProviders() : bool
- registerProvider() : void
Properties
$providers
        protected
            array<string|int, MfaProviderManifestInterface>
    $providers
     = []
    
    
    
    
    
Methods
allowedProvidersItemsProcFunc()
    public
                    allowedProvidersItemsProcFunc(array<string|int, mixed> &$parameters) : void
    Parameters
- $parameters : array<string|int, mixed>
getActiveProviders()
Get all active providers for the given user
    public
                    getActiveProviders(AbstractUserAuthentication $user) : array<string|int, MfaProviderManifestInterface>
    Parameters
- $user : AbstractUserAuthentication
Return values
array<string|int, MfaProviderManifestInterface>getFirstAuthenticationAwareProvider()
Get the first provider for the user which can be used for authentication.
    public
                    getFirstAuthenticationAwareProvider(AbstractUserAuthentication $user) : MfaProviderManifestInterface
    This is either the user specified default provider, or the first active provider based on the providers configured ordering.
Parameters
- $user : AbstractUserAuthentication
Return values
MfaProviderManifestInterfacegetLockedProviders()
Get all locked providers for the given user
    public
                    getLockedProviders(AbstractUserAuthentication $user) : array<string|int, MfaProviderManifestInterface>
    Parameters
- $user : AbstractUserAuthentication
Return values
array<string|int, MfaProviderManifestInterface>getProvider()
    public
                    getProvider(string $identifier) : MfaProviderManifestInterface
    Parameters
- $identifier : string
Return values
MfaProviderManifestInterfacegetProviders()
    public
                    getProviders() : array<string|int, mixed>
    Return values
array<string|int, mixed>hasActiveProviders()
Whether the given user has active providers
    public
                    hasActiveProviders(AbstractUserAuthentication $user) : bool
    Parameters
- $user : AbstractUserAuthentication
Return values
boolhasLockedProviders()
Whether the given user has locked providers
    public
                    hasLockedProviders(AbstractUserAuthentication $user) : bool
    Parameters
- $user : AbstractUserAuthentication
Return values
boolhasProvider()
    public
                    hasProvider(string $identifier) : bool
    Parameters
- $identifier : string
Return values
boolhasProviders()
    public
                    hasProviders() : bool
    Return values
boolregisterProvider()
    public
                    registerProvider(MfaProviderManifestInterface $provider) : void
    Parameters
- $provider : MfaProviderManifestInterface