Class AbstractClientRegistrationProvider
java.lang.Object
org.keycloak.services.clientregistration.AbstractClientRegistrationProvider
- All Implemented Interfaces:
Provider
,ClientRegistrationProvider
- Direct Known Subclasses:
DefaultClientRegistrationProvider
,EntityDescriptorClientRegistrationProvider
,OIDCClientRegistrationProvider
public abstract class AbstractClientRegistrationProvider
extends Object
implements ClientRegistrationProvider
- Author:
- Stian Thorgersen
-
Field Summary
Modifier and TypeFieldDescriptionprotected ClientRegistrationAuth
protected EventBuilder
protected KeycloakSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
create
(ClientRegistrationContext context) void
get
(ClientModel client) getAuth()
getEvent()
void
void
setEvent
(EventBuilder event) update
(String clientId, ClientRegistrationContext context) void
validateClient
(ClientModel clientModel, OIDCClientRepresentation oidcClient, boolean create) void
validateClient
(ClientRepresentation clientRep, boolean create)
-
Field Details
-
session
-
event
-
auth
-
-
Constructor Details
-
AbstractClientRegistrationProvider
-
-
Method Details
-
create
-
get
-
update
-
delete
-
validateClient
public void validateClient(ClientModel clientModel, OIDCClientRepresentation oidcClient, boolean create) -
validateClient
-
setAuth
- Specified by:
setAuth
in interfaceClientRegistrationProvider
-
getAuth
- Specified by:
getAuth
in interfaceClientRegistrationProvider
-
setEvent
- Specified by:
setEvent
in interfaceClientRegistrationProvider
-
getEvent
- Specified by:
getEvent
in interfaceClientRegistrationProvider
-
close
public void close()
-