public class DynamicClientRegisterContext extends Object
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 the new client or updating the existing client. |
JsonWebToken |
getToken()
returns
JsonWebToken of the token accompanied with the request to register/read/update/unregister client |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTargetClient
public DynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm)
public ClientPolicyEvent getEvent()
ClientPolicyContext
ClientPolicyEvent
of client policy related events.ClientPolicyEvent
public ClientRepresentation getProposedClientRepresentation()
ClientCRUDContext
ClientRepresentation
for creating the new client or updating the existing client.ClientRepresentation
public ClientModel getAuthenticatedClient()
ClientCRUDContext
UserModel
of the authenticated client.getAuthenticatedClient
in interface ClientCRUDContext
UserModel
public UserModel getAuthenticatedUser()
ClientCRUDContext
UserModel
of the authenticated user.getAuthenticatedUser
in interface ClientCRUDContext
UserModel
public JsonWebToken getToken()
ClientCRUDContext
JsonWebToken
of the token accompanied with the request to register/read/update/unregister clientgetToken
in interface ClientCRUDContext
JsonWebToken
Copyright © 2021 JBoss by Red Hat. All rights reserved.