Class CibaRootEndpoint
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.ciba.endpoints.CibaRootEndpoint
-
- All Implemented Interfaces:
OIDCExtProvider
,OIDCExtProviderFactory
,org.keycloak.provider.EnvironmentDependentProviderFactory
,org.keycloak.provider.Provider
,org.keycloak.provider.ProviderFactory<OIDCExtProvider>
public class CibaRootEndpoint extends Object implements OIDCExtProvider, OIDCExtProviderFactory, org.keycloak.provider.EnvironmentDependentProviderFactory
- Author:
- Pedro Igor
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROVIDER_ID
-
Constructor Summary
Constructors Constructor Description CibaRootEndpoint()
CibaRootEndpoint(org.keycloak.models.KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackchannelAuthenticationCallbackEndpoint
authenticate()
The callback endpoint used by authentication devices to notify Keycloak about the end-user authentication status.BackchannelAuthenticationEndpoint
authorize()
The backchannel authentication endpoint used by consumption devices to obtain authorization from end-users.void
close()
OIDCExtProvider
create(org.keycloak.models.KeycloakSession session)
String
getId()
boolean
isSupported()
void
setEvent(org.keycloak.events.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
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
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(org.keycloak.models.KeycloakSession session)
- Specified by:
create
in interfaceorg.keycloak.provider.ProviderFactory<OIDCExtProvider>
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.keycloak.provider.ProviderFactory<OIDCExtProvider>
-
setEvent
public void setEvent(org.keycloak.events.EventBuilder event)
- Specified by:
setEvent
in interfaceOIDCExtProvider
-
close
public void close()
- Specified by:
close
in interfaceOIDCExtProvider
- Specified by:
close
in interfaceOIDCExtProviderFactory
- Specified by:
close
in interfaceorg.keycloak.provider.Provider
- Specified by:
close
in interfaceorg.keycloak.provider.ProviderFactory<OIDCExtProvider>
-
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interfaceorg.keycloak.provider.EnvironmentDependentProviderFactory
-
-