Class DynamicClientUpdateContext
java.lang.Object
org.keycloak.services.clientpolicy.context.DynamicClientUpdateContext
- All Implemented Interfaces:
 ClientPolicyContext,ClientCRUDContext
- 
Constructor Summary
ConstructorsConstructorDescriptionDynamicClientUpdateContext(ClientRegistrationContext context, ClientModel proposedClientRepresentation, JsonWebToken token, RealmModel realm)  - 
Method Summary
Modifier and TypeMethodDescriptionreturnsUserModelof the authenticated client.returnsUserModelof the authenticated user.getEvent()returnsClientPolicyEventof client policy related events.returnsClientRepresentationfor creating the new client or updating the existing client.returnsClientModelof the existing client to be updated/read/updated/deleted.getToken()returnsJsonWebTokenof the token accompanied with the request to register/read/update/unregister client 
- 
Constructor Details
- 
DynamicClientUpdateContext
public DynamicClientUpdateContext(ClientRegistrationContext context, ClientModel proposedClientRepresentation, JsonWebToken token, RealmModel realm)  
 - 
 - 
Method Details
- 
getEvent
Description copied from interface:ClientPolicyContextreturnsClientPolicyEventof client policy related events.- Returns:
 ClientPolicyEvent
 - 
getProposedClientRepresentation
Description copied from interface:ClientCRUDContextreturnsClientRepresentationfor creating the new client or updating the existing client.- Returns:
 ClientRepresentation
 - 
getTargetClient
Description copied from interface:ClientCRUDContextreturnsClientModelof the existing client to be updated/read/updated/deleted. on REGISTER event, it returns null.- Returns:
 ClientModel
 - 
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
 
 -