Class CibaRootEndpoint
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.ciba.endpoints.CibaRootEndpoint
-
- All Implemented Interfaces:
OIDCExtProvider,OIDCExtProviderFactory,EnvironmentDependentProviderFactory,Provider,ProviderFactory<OIDCExtProvider>
public class CibaRootEndpoint extends Object implements OIDCExtProvider, OIDCExtProviderFactory, EnvironmentDependentProviderFactory
- Author:
- Pedro Igor
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROVIDER_ID
-
Constructor Summary
Constructors Constructor Description CibaRootEndpoint()CibaRootEndpoint(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackchannelAuthenticationCallbackEndpointauthenticate()The callback endpoint used by authentication devices to notify Keycloak about the end-user authentication status.BackchannelAuthenticationEndpointauthorize()The backchannel authentication endpoint used by consumption devices to obtain authorization from end-users.voidclose()This is called when the server shuts down.OIDCExtProvidercreate(KeycloakSession session)StringgetId()booleanisSupported()voidsetEvent(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
-
CibaRootEndpoint
public CibaRootEndpoint()
-
CibaRootEndpoint
public CibaRootEndpoint(KeycloakSession session)
-
-
Method Detail
-
authorize
@Path("/auth") public BackchannelAuthenticationEndpoint authorize()The backchannel authentication endpoint used by consumption devices to obtain authorization from end-users.- Returns:
-
authenticate
@Path("/auth/callback") public BackchannelAuthenticationCallbackEndpoint authenticate()The callback endpoint used by authentication devices to notify Keycloak about the end-user authentication status.- Returns:
-
create
public OIDCExtProvider create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<OIDCExtProvider>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<OIDCExtProvider>
-
setEvent
public void setEvent(EventBuilder event)
- Specified by:
setEventin interfaceOIDCExtProvider
-
close
public void close()
Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceOIDCExtProvider- Specified by:
closein interfaceOIDCExtProviderFactory- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<OIDCExtProvider>
-
isSupported
public boolean isSupported()
- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Returns:
trueif the provider is supported and should be available,falseotherwise
-
-