Class KeycloakIdentity
java.lang.Object
org.keycloak.authorization.common.KeycloakIdentity
- All Implemented Interfaces:
Identity
- Author:
- Pedro Igor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AccessTokenprotected final Attributesprotected final KeycloakSessionprotected final RealmModel -
Constructor Summary
ConstructorsConstructorDescriptionKeycloakIdentity(KeycloakSession keycloakSession) KeycloakIdentity(KeycloakSession keycloakSession, IDToken token) KeycloakIdentity(AccessToken accessToken, KeycloakSession keycloakSession) KeycloakIdentity(IDToken token, KeycloakSession keycloakSession, RealmModel realm) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authorization.identity.Identity
hasClientRole, hasOneClientRole, hasRealmRole
-
Field Details
-
accessToken
-
realm
-
keycloakSession
-
attributes
-
-
Constructor Details
-
KeycloakIdentity
-
KeycloakIdentity
-
KeycloakIdentity
-
KeycloakIdentity
-
-
Method Details
-
getId
-
getAttributes
- Specified by:
getAttributesin interfaceIdentity
-
getAccessToken
-
isResourceServer
public boolean isResourceServer()
-