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 |
getEvent
default ClientRepresentation getProposedClientRepresentation()
ClientRepresentation
for creating the new client or updating the existing client.ClientRepresentation
default ClientModel getTargetClient()
ClientModel
of the existing client to be updated/read/updated/deleted.
on REGISTER event, it returns null.ClientModel
default UserModel getAuthenticatedUser()
UserModel
of the authenticated user.UserModel
default ClientModel getAuthenticatedClient()
UserModel
of the authenticated client.UserModel
default JsonWebToken getToken()
JsonWebToken
of the token accompanied with the request to register/read/update/unregister clientJsonWebToken
Copyright © 2021 JBoss by Red Hat. All rights reserved.