public class DynamicClientRegisterContext extends Object implements ClientUpdateContext
Constructor and Description |
---|
DynamicClientRegisterContext(ClientRegistrationContext context,
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. |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientToBeUpdated
public DynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm)
public ClientPolicyEvent getEvent()
ClientPolicyContext
ClientPolicyEvent
of client policy related events.getEvent
in interface ClientPolicyContext
ClientPolicyEvent
public ClientRepresentation getProposedClientRepresentation()
ClientUpdateContext
ClientRepresentation
for creating or updating the current client.getProposedClientRepresentation
in interface ClientUpdateContext
ClientRepresentation
public ClientModel getAuthenticatedClient()
ClientUpdateContext
UserModel
of the authenticated client.getAuthenticatedClient
in interface ClientUpdateContext
UserModel
public UserModel getAuthenticatedUser()
ClientUpdateContext
UserModel
of the authenticated user.getAuthenticatedUser
in interface ClientUpdateContext
UserModel
public JsonWebToken getToken()
ClientUpdateContext
JsonWebToken
of the token accompanied with registration/update clientgetToken
in interface ClientUpdateContext
JsonWebToken
Copyright © 2020 JBoss by Red Hat. All rights reserved.