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, wait
hasClientRole, hasClientRole, hasRealmRole, hasRole
public KeycloakIdentity(KeycloakSession keycloakSession)
public KeycloakIdentity(AccessToken accessToken, KeycloakSession keycloakSession)
public String getId()
Identity
public Attributes getAttributes()
Identity
getAttributes
in interface Identity
public AccessToken getAccessToken()
Copyright © 2016 JBoss by Red Hat. All rights reserved.