Class ScopeRepresentation

java.lang.Object
org.keycloak.representations.idm.authorization.ScopeRepresentation
Direct Known Subclasses:
AbstractResourceService.Scope

public class ScopeRepresentation extends Object

A bounded extent of access that is possible to perform on a resource set. In authorization policy terminology, a scope is one of the potentially many "verbs" that can logically apply to a resource set ("object").

For more details, OAuth-resource-reg.

Author:
Pedro Igor
  • Constructor Details

    • ScopeRepresentation

      public ScopeRepresentation(String name, String iconUri)
      Creates an instance.
      Parameters:
      name - the a human-readable string describing some scope (extent) of access
      iconUri - a URI for a graphic icon representing the scope
    • ScopeRepresentation

      public ScopeRepresentation(String name)
      Creates an instance.
      Parameters:
      name - the a human-readable string describing some scope (extent) of access
    • ScopeRepresentation

      public ScopeRepresentation()
      Creates an instance.
  • Method Details