public class KeycloakIdentity extends Object implements Identity
| Constructor and Description |
|---|
KeycloakIdentity(AccessToken accessToken,
KeycloakSession keycloakSession) |
KeycloakIdentity(KeycloakSession keycloakSession) |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
getAccessToken() |
Attributes |
getAttributes()
Returns the attributes or claims associated with this identity.
|
String |
getId()
Returns the unique identifier of this identity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasClientRole, hasClientRole, hasRealmRole, hasRolepublic KeycloakIdentity(KeycloakSession keycloakSession)
public KeycloakIdentity(AccessToken accessToken, KeycloakSession keycloakSession)
public String getId()
Identitypublic Attributes getAttributes()
IdentitygetAttributes in interface Identitypublic AccessToken getAccessToken()
Copyright © 2016 JBoss by Red Hat. All rights reserved.