Class AdminClientRegisterContext
java.lang.Object
org.keycloak.services.clientpolicy.context.AdminClientRegisterContext
- All Implemented Interfaces:
ClientPolicyContext
,ClientCRUDContext
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAdminClientRegisterContext
(ClientRepresentation proposedClientRepresentation, AdminAuth adminAuth) -
Method Summary
Modifier and TypeMethodDescriptionreturnsUserModel
of the authenticated client.returnsUserModel
of the authenticated user.getEvent()
returnsClientPolicyEvent
of client policy related events.returnsClientRepresentation
for creating the new client or updating the existing client.getToken()
returnsJsonWebToken
of 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, wait
Methods inherited from interface org.keycloak.services.clientpolicy.context.ClientCRUDContext
getTargetClient
-
Field Details
-
adminAuth
-
-
Constructor Details
-
AdminClientRegisterContext
public AdminClientRegisterContext(ClientRepresentation proposedClientRepresentation, AdminAuth adminAuth)
-
-
Method Details
-
getEvent
Description copied from interface:ClientPolicyContext
returnsClientPolicyEvent
of client policy related events.- Returns:
ClientPolicyEvent
-
getProposedClientRepresentation
Description copied from interface:ClientCRUDContext
returnsClientRepresentation
for creating the new client or updating the existing client.- Returns:
ClientRepresentation
-
getAuthenticatedClient
Description copied from interface:ClientCRUDContext
returnsUserModel
of the authenticated client.- Specified by:
getAuthenticatedClient
in interfaceClientCRUDContext
- Returns:
UserModel
-
getAuthenticatedUser
Description copied from interface:ClientCRUDContext
returnsUserModel
of the authenticated user.- Specified by:
getAuthenticatedUser
in interfaceClientCRUDContext
- Returns:
UserModel
-
getToken
Description copied from interface:ClientCRUDContext
returnsJsonWebToken
of the token accompanied with the request to register/read/update/unregister client- Specified by:
getToken
in interfaceClientCRUDContext
- Returns:
JsonWebToken
-