Class DynamicClientRegisterContext
java.lang.Object
org.keycloak.services.clientpolicy.context.DynamicClientRegisterContext
- All Implemented Interfaces:
ClientPolicyContext,ClientCRUDContext
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm) -
Method Summary
Modifier and TypeMethodDescriptionreturnsUserModelof the authenticated client.returnsUserModelof the authenticated user.getEvent()returnsClientRepresentationfor creating the new client or updating the existing client.getToken()returnsJsonWebTokenof the token accompanied with the request to register/read/update/unregister clientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.services.clientpolicy.context.ClientCRUDContext
getTargetClient
-
Constructor Details
-
DynamicClientRegisterContext
public DynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm)
-
-
Method Details
-
getEvent
-
getProposedClientRepresentation
Description copied from interface:ClientCRUDContextreturnsClientRepresentationfor creating the new client or updating the existing client.- Returns:
ClientRepresentation
-
getAuthenticatedClient
Description copied from interface:ClientCRUDContextreturnsUserModelof the authenticated client.- Specified by:
getAuthenticatedClientin interfaceClientCRUDContext- Returns:
UserModel
-
getAuthenticatedUser
Description copied from interface:ClientCRUDContextreturnsUserModelof the authenticated user.- Specified by:
getAuthenticatedUserin interfaceClientCRUDContext- Returns:
UserModel
-
getToken
Description copied from interface:ClientCRUDContextreturnsJsonWebTokenof the token accompanied with the request to register/read/update/unregister client- Specified by:
getTokenin interfaceClientCRUDContext- Returns:
JsonWebToken
-