‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry Class Reference

Public Member Functions

 registerProvider (MfaProviderManifestInterface $provider)
 
 hasProvider (string $identifier)
 
 hasProviders ()
 
 getProvider (string $identifier)
 
 getProviders ()
 
 hasActiveProviders (AbstractUserAuthentication $user)
 
MfaProviderManifestInterface[] getActiveProviders (AbstractUserAuthentication $user)
 
MfaProviderManifestInterface getFirstAuthenticationAwareProvider (AbstractUserAuthentication $user)
 
 hasLockedProviders (AbstractUserAuthentication $user)
 
MfaProviderManifestInterface[] getLockedProviders (AbstractUserAuthentication $user)
 
 allowedProvidersItemsProcFunc (array &$parameters)
 

Protected Attributes

array $providers = []
 

Detailed Description

Registry for configuration providers which is called by the ConfigurationProviderPass

should only be used by the TYPO3 Core

Definition at line 29 of file MfaProviderRegistry.php.

Member Function Documentation

◆ allowedProvidersItemsProcFunc()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::allowedProvidersItemsProcFunc ( array &  $parameters)

Definition at line 127 of file MfaProviderRegistry.php.

◆ getActiveProviders()

◆ getFirstAuthenticationAwareProvider()

MfaProviderManifestInterface TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::getFirstAuthenticationAwareProvider ( AbstractUserAuthentication  $user)

Get the first provider for the user which can be used for authentication. This is either the user specified default provider, or the first active provider based on the providers configured ordering.

Returns
MfaProviderManifestInterface

Definition at line 91 of file MfaProviderRegistry.php.

References TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry\getActiveProviders().

◆ getLockedProviders()

MfaProviderManifestInterface [] TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::getLockedProviders ( AbstractUserAuthentication  $user)

◆ getProvider()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::getProvider ( string  $identifier)

◆ getProviders()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::getProviders ( )

◆ hasActiveProviders()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::hasActiveProviders ( AbstractUserAuthentication  $user)

Whether the given user has active providers

Definition at line 67 of file MfaProviderRegistry.php.

References TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry\getActiveProviders().

◆ hasLockedProviders()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::hasLockedProviders ( AbstractUserAuthentication  $user)

Whether the given user has locked providers

Definition at line 110 of file MfaProviderRegistry.php.

References TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry\getLockedProviders().

◆ hasProvider()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::hasProvider ( string  $identifier)

◆ hasProviders()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::hasProviders ( )

Definition at line 46 of file MfaProviderRegistry.php.

◆ registerProvider()

TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::registerProvider ( MfaProviderManifestInterface  $provider)

Member Data Documentation

◆ $providers

array TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry::$providers = []
protected