Class PreAuthorizedCodeGrantTypeFactory
java.lang.Object
org.keycloak.protocol.oidc.grants.PreAuthorizedCodeGrantTypeFactory
- All Implemented Interfaces:
org.keycloak.protocol.oidc.grants.OAuth2GrantTypeFactory,org.keycloak.provider.EnvironmentDependentProviderFactory,org.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
public class PreAuthorizedCodeGrantTypeFactory
extends Object
implements org.keycloak.protocol.oidc.grants.OAuth2GrantTypeFactory, org.keycloak.provider.EnvironmentDependentProviderFactory
Factory for Pre-Authorized Code Grant
- Author:
- Stefan Wiedemann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.keycloak.protocol.oidc.grants.OAuth2GrantTypecreate(org.keycloak.models.KeycloakSession session) getId()voidinit(org.keycloak.Config.Scope config) booleanisSupported(org.keycloak.Config.Scope config) voidpostInit(org.keycloak.models.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
-
PreAuthorizedCodeGrantTypeFactory
public PreAuthorizedCodeGrantTypeFactory()
-
-
Method Details
-
create
public org.keycloak.protocol.oidc.grants.OAuth2GrantType create(org.keycloak.models.KeycloakSession session) - Specified by:
createin interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
-
init
public void init(org.keycloak.Config.Scope config) - Specified by:
initin interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
-
postInit
public void postInit(org.keycloak.models.KeycloakSessionFactory factory) - Specified by:
postInitin interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
-
close
public void close()- Specified by:
closein interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
-
getId
- Specified by:
getIdin interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.protocol.oidc.grants.OAuth2GrantType>
-
getShortcut
- Specified by:
getShortcutin interfaceorg.keycloak.protocol.oidc.grants.OAuth2GrantTypeFactory
-
isSupported
public boolean isSupported(org.keycloak.Config.Scope config) - Specified by:
isSupportedin interfaceorg.keycloak.provider.EnvironmentDependentProviderFactory
-