public interface ClientCRUDContext extends ClientPolicyContext
| Modifier and Type | Method and Description |
|---|---|
default ClientModel |
getAuthenticatedClient()
returns
UserModel of the authenticated client. |
default UserModel |
getAuthenticatedUser()
returns
UserModel of the authenticated user. |
default ClientRepresentation |
getProposedClientRepresentation()
returns
ClientRepresentation for creating the new client or updating the existing client. |
default ClientModel |
getTargetClient()
returns
ClientModel of the existing client to be updated/read/updated/deleted. |
default JsonWebToken |
getToken()
returns
JsonWebToken of the token accompanied with the request to register/read/update/unregister client |
getEventdefault ClientRepresentation getProposedClientRepresentation()
ClientRepresentation for creating the new client or updating the existing client.ClientRepresentationdefault ClientModel getTargetClient()
ClientModel of the existing client to be updated/read/updated/deleted.
on REGISTER event, it returns null.ClientModeldefault UserModel getAuthenticatedUser()
UserModel of the authenticated user.UserModeldefault ClientModel getAuthenticatedClient()
UserModel of the authenticated client.UserModeldefault JsonWebToken getToken()
JsonWebToken of the token accompanied with the request to register/read/update/unregister clientJsonWebTokenCopyright © 2021 JBoss by Red Hat. All rights reserved.