Class DynamicClientRegisteredContext
java.lang.Object
org.keycloak.services.clientpolicy.context.DynamicClientRegisteredContext
- All Implemented Interfaces:
 ClientPolicyContext,ClientCRUDContext
- 
Constructor Summary
ConstructorsConstructorDescriptionDynamicClientRegisteredContext(ClientRegistrationContext context, ClientModel registeredClient, JsonWebToken token, RealmModel realm)  - 
Method Summary
Modifier and TypeMethodDescriptionreturnsUserModelof the authenticated client.returnsUserModelof the authenticated user.getEvent()returnsClientPolicyEventof client policy related events.returnsClientModelof the existing client to be updated/read/updated/deleted.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
getProposedClientRepresentation 
- 
Constructor Details
- 
DynamicClientRegisteredContext
public DynamicClientRegisteredContext(ClientRegistrationContext context, ClientModel registeredClient, JsonWebToken token, RealmModel realm)  
 - 
 - 
Method Details
- 
getEvent
Description copied from interface:ClientPolicyContextreturnsClientPolicyEventof client policy related events.- Returns:
 ClientPolicyEvent
 - 
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
 
 -