Class DeviceGrantTypeFactory
java.lang.Object
org.keycloak.protocol.oidc.grants.device.DeviceGrantTypeFactory
- All Implemented Interfaces:
OAuth2GrantTypeFactory,EnvironmentDependentProviderFactory,ProviderFactory<OAuth2GrantType>
public class DeviceGrantTypeFactory
extends Object
implements OAuth2GrantTypeFactory, EnvironmentDependentProviderFactory
Factory for OAuth 2.0 Device Authorization Grant
- Author:
- Dmitry Telegin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(KeycloakSession session) getId()voidinit(Config.Scope config) booleanisSupported(Config.Scope config) voidpostInit(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Constructor Details
-
DeviceGrantTypeFactory
public DeviceGrantTypeFactory()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceProviderFactory<OAuth2GrantType>
-
create
- Specified by:
createin interfaceProviderFactory<OAuth2GrantType>
-
isSupported
- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory
-
init
- Specified by:
initin interfaceProviderFactory<OAuth2GrantType>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<OAuth2GrantType>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<OAuth2GrantType>
-