Class PreAuthorizedCodeGrantTypeFactory
java.lang.Object
org.keycloak.protocol.oidc.grants.PreAuthorizedCodeGrantTypeFactory
- All Implemented Interfaces:
OAuth2GrantTypeFactory,EnvironmentDependentProviderFactory,ProviderFactory<OAuth2GrantType>
public class PreAuthorizedCodeGrantTypeFactory
extends Object
implements OAuth2GrantTypeFactory, EnvironmentDependentProviderFactory
Factory for Pre-Authorized Code Grant
- Author:
- Stefan Wiedemann
-
Field Summary
Fields -
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
getConfigMetadata, order
-
Field Details
-
GRANT_TYPE
- See Also:
-
CODE_REQUEST_PARAM
- See Also:
-
-
Constructor Details
-
PreAuthorizedCodeGrantTypeFactory
public PreAuthorizedCodeGrantTypeFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<OAuth2GrantType>
-
init
- Specified by:
initin interfaceProviderFactory<OAuth2GrantType>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<OAuth2GrantType>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<OAuth2GrantType>
-
getId
- Specified by:
getIdin interfaceProviderFactory<OAuth2GrantType>
-
isSupported
- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory
-