Package org.keycloak.models
Class DefaultOAuth2DeviceUserCodeProviderFactory
- java.lang.Object
- 
- org.keycloak.models.DefaultOAuth2DeviceUserCodeProviderFactory
 
- 
- All Implemented Interfaces:
- OAuth2DeviceUserCodeProviderFactory,- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 public class DefaultOAuth2DeviceUserCodeProviderFactory extends Object implements OAuth2DeviceUserCodeProviderFactory - Author:
- Hiroyuki Wada
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultOAuth2DeviceUserCodeProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.OAuth2DeviceUserCodeProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Method Detail- 
createpublic OAuth2DeviceUserCodeProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 - 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<OAuth2DeviceUserCodeProvider>
 
 
- 
 
-