Class AbstractResourceService.Permission

java.lang.Object
org.keycloak.representations.idm.AbstractUserRepresentation
org.keycloak.representations.idm.UserRepresentation
org.keycloak.services.resources.account.resources.AbstractResourceService.Permission
Enclosing class:
AbstractResourceService

public static class AbstractResourceService.Permission extends org.keycloak.representations.idm.UserRepresentation
  • Field Summary

    Fields inherited from class org.keycloak.representations.idm.UserRepresentation

    applicationRoles, clientConsents, clientRoles, createdTimestamp, credentials, disableableCredentialTypes, federatedIdentities, federationLink, groups, notBefore, origin, realmRoles, requiredActions, self, serviceAccountClientId, socialLinks, totp

    Fields inherited from class org.keycloak.representations.idm.AbstractUserRepresentation

    attributes, email, EMAIL, emailVerified, enabled, FIRST_NAME, firstName, id, LAST_NAME, lastName, LOCALE, username, USERNAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Permission(String userName, String... scopes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addScope(String... scope)
     
     

    Methods inherited from class org.keycloak.representations.idm.UserRepresentation

    getAccess, getApplicationRoles, getClientConsents, getClientRoles, getCreatedTimestamp, getCredentials, getDisableableCredentialTypes, getFederatedIdentities, getFederationLink, getGroups, getNotBefore, getOrigin, getRealmRoles, getRequiredActions, getSelf, getServiceAccountClientId, getSocialLinks, isTotp, setAccess, setClientConsents, setClientRoles, setCreatedTimestamp, setCredentials, setDisableableCredentialTypes, setFederatedIdentities, setFederationLink, setGroups, setNotBefore, setOrigin, setRealmRoles, setRequiredActions, setSelf, setServiceAccountClientId, setSocialLinks, setTotp

    Methods inherited from class org.keycloak.representations.idm.AbstractUserRepresentation

    firstAttribute, getAttributes, getEmail, getFirstName, getId, getLastName, getRawAttributes, getUsername, getUserProfileMetadata, isEmailVerified, isEnabled, setAttributes, setEmail, setEmailVerified, setEnabled, setFirstName, setId, setLastName, setUsername, setUserProfileMetadata, singleAttribute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Permission

      public Permission()
    • Permission

      public Permission(String userName, String... scopes)
  • Method Details

    • getScopes

      public List<String> getScopes()
    • addScope

      public void addScope(String... scope)