Package org.keycloak.credential
Class RecoveryAuthnCodesCredentialProviderFactory
java.lang.Object
org.keycloak.credential.RecoveryAuthnCodesCredentialProviderFactory
- All Implemented Interfaces:
CredentialProviderFactory<RecoveryAuthnCodesCredentialProvider>
,EnvironmentDependentProviderFactory
,ProviderFactory<CredentialProvider>
public class RecoveryAuthnCodesCredentialProviderFactory
extends Object
implements CredentialProviderFactory<RecoveryAuthnCodesCredentialProvider>, EnvironmentDependentProviderFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) getId()
This is the name of the provider and will be showed in the admin console as an option.boolean
isSupported
(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.credential.CredentialProviderFactory
close, init, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
RecoveryAuthnCodesCredentialProviderFactory
public RecoveryAuthnCodesCredentialProviderFactory()
-
-
Method Details
-
getId
Description copied from interface:CredentialProviderFactory
This is the name of the provider and will be showed in the admin console as an option.- Specified by:
getId
in interfaceCredentialProviderFactory<RecoveryAuthnCodesCredentialProvider>
- Specified by:
getId
in interfaceProviderFactory<CredentialProvider>
-
create
- Specified by:
create
in interfaceProviderFactory<CredentialProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactory
Check if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Parameters:
config
- the provider configuration- Returns:
true
if the provider is supported. Otherwise,false
.
-