Package org.keycloak.authentication.otp
Class GoogleAuthenticatorProvider
- java.lang.Object
-
- org.keycloak.authentication.otp.GoogleAuthenticatorProvider
-
- All Implemented Interfaces:
OTPApplicationProvider
,OTPApplicationProviderFactory
,Provider
,ProviderFactory<OTPApplicationProvider>
public class GoogleAuthenticatorProvider extends Object implements OTPApplicationProviderFactory, OTPApplicationProvider
-
-
Constructor Summary
Constructors Constructor Description GoogleAuthenticatorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
This is called when the server shuts down.OTPApplicationProvider
create(KeycloakSession session)
String
getId()
String
getName()
boolean
supports(OTPPolicy policy)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.authentication.otp.OTPApplicationProviderFactory
init, postInit
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Method Detail
-
create
public OTPApplicationProvider create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<OTPApplicationProvider>
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<OTPApplicationProvider>
-
getName
public String getName()
- Specified by:
getName
in interfaceOTPApplicationProvider
-
supports
public boolean supports(OTPPolicy policy)
- Specified by:
supports
in interfaceOTPApplicationProvider
-
close
public void close()
Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProvider
- Specified by:
close
in interfaceProviderFactory<OTPApplicationProvider>
-
-