Class ParRootEndpoint
- java.lang.Object
-
- org.keycloak.protocol.oidc.par.endpoints.ParRootEndpoint
-
- All Implemented Interfaces:
OIDCExtProvider
,OIDCExtProviderFactory
,EnvironmentDependentProviderFactory
,Provider
,ProviderFactory<OIDCExtProvider>
public class ParRootEndpoint extends Object implements OIDCExtProvider, OIDCExtProviderFactory, EnvironmentDependentProviderFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROVIDER_ID
-
Constructor Summary
Constructors Constructor Description ParRootEndpoint()
ParRootEndpoint(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
This is called when the server shuts down.OIDCExtProvider
create(KeycloakSession session)
String
getId()
boolean
isSupported()
ParEndpoint
request()
void
setEvent(EventBuilder event)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupported
-
Methods inherited from interface org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory
init, order, postInit
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParRootEndpoint
public ParRootEndpoint()
-
ParRootEndpoint
public ParRootEndpoint(KeycloakSession session)
-
-
Method Detail
-
request
@Path("/request") public ParEndpoint request()
-
create
public OIDCExtProvider create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<OIDCExtProvider>
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<OIDCExtProvider>
-
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Returns:
true
if the provider is supported and should be available,false
otherwise
-
setEvent
public void setEvent(EventBuilder event)
- Specified by:
setEvent
in interfaceOIDCExtProvider
-
close
public void close()
Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceOIDCExtProvider
- Specified by:
close
in interfaceOIDCExtProviderFactory
- Specified by:
close
in interfaceProvider
- Specified by:
close
in interfaceProviderFactory<OIDCExtProvider>
-
-