public class DynamicClientUpdateContext extends Object implements ClientUpdateContext
| Constructor and Description |
|---|
DynamicClientUpdateContext(ClientRegistrationContext context,
ClientModel client,
JsonWebToken token,
RealmModel realm) |
| Modifier and Type | Method and Description |
|---|---|
ClientModel |
getAuthenticatedClient()
returns
UserModel of the authenticated client. |
UserModel |
getAuthenticatedUser()
returns
UserModel of the authenticated user. |
ClientModel |
getClientToBeUpdated()
returns
ClientModel of the current client to be updated. |
ClientPolicyEvent |
getEvent()
returns
ClientPolicyEvent of client policy related events. |
ClientRepresentation |
getProposedClientRepresentation()
returns
ClientRepresentation for creating or updating the current client. |
JsonWebToken |
getToken()
returns
JsonWebToken of the token accompanied with registration/update client |
public DynamicClientUpdateContext(ClientRegistrationContext context, ClientModel client, JsonWebToken token, RealmModel realm)
public ClientPolicyEvent getEvent()
ClientPolicyContextClientPolicyEvent of client policy related events.getEvent in interface ClientPolicyContextClientPolicyEventpublic ClientRepresentation getProposedClientRepresentation()
ClientUpdateContextClientRepresentation for creating or updating the current client.getProposedClientRepresentation in interface ClientUpdateContextClientRepresentationpublic ClientModel getClientToBeUpdated()
ClientUpdateContextClientModel of the current client to be updated.getClientToBeUpdated in interface ClientUpdateContextClientModelpublic ClientModel getAuthenticatedClient()
ClientUpdateContextUserModel of the authenticated client.getAuthenticatedClient in interface ClientUpdateContextUserModelpublic UserModel getAuthenticatedUser()
ClientUpdateContextUserModel of the authenticated user.getAuthenticatedUser in interface ClientUpdateContextUserModelpublic JsonWebToken getToken()
ClientUpdateContextJsonWebToken of the token accompanied with registration/update clientgetToken in interface ClientUpdateContextJsonWebTokenCopyright © 2021 JBoss by Red Hat. All rights reserved.