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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe callback endpoint used by authentication devices to notify Keycloak about the end-user authentication status.The backchannel authentication endpoint used by consumption devices to obtain authorization from end-users.void
close()
This is called when the server shuts down.create
(KeycloakSession session) getId()
boolean
isSupported
(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.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.protocol.oidc.ext.OIDCExtProviderFactory
init, order, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
CibaRootEndpoint
public CibaRootEndpoint() -
CibaRootEndpoint
-
-
Method Details
-
authorize
The backchannel authentication endpoint used by consumption devices to obtain authorization from end-users.- Returns:
-
authenticate
The callback endpoint used by authentication devices to notify Keycloak about the end-user authentication status.- Returns:
-
create
- Specified by:
create
in interfaceProviderFactory<OIDCExtProvider>
-
getId
- Specified by:
getId
in interfaceProviderFactory<OIDCExtProvider>
-
setEvent
- 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>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactory
Check if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Parameters:
config
- the provider configuration- Returns:
true
if the provider is supported. Otherwise,false
.
-