public class DefaultOAuth2DeviceUserCodeProviderFactory extends Object implements OAuth2DeviceUserCodeProviderFactory
Constructor and Description |
---|
DefaultOAuth2DeviceUserCodeProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
OAuth2DeviceUserCodeProvider |
create(KeycloakSession session) |
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public DefaultOAuth2DeviceUserCodeProviderFactory()
public OAuth2DeviceUserCodeProvider create(KeycloakSession session)
create
in interface ProviderFactory<OAuth2DeviceUserCodeProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<OAuth2DeviceUserCodeProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<OAuth2DeviceUserCodeProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<OAuth2DeviceUserCodeProvider>
public String getId()
getId
in interface ProviderFactory<OAuth2DeviceUserCodeProvider>
Copyright © 2021 JBoss by Red Hat. All rights reserved.