Package org.keycloak.authorization.model
Interface Scope
- 
- All Known Implementing Classes:
- AbstractScopeModel,- MapScopeAdapter,- ScopeAdapter,- ScopeAdapter
 
 public interface ScopeRepresents a scope, which is usually associated with one or more resources in order to define the actions that can be performed or a specific access context.- Author:
- Pedro Igor
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classScope.FilterOptionstatic classScope.SearchableFields
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayName()Returns the end user friendly name for this scope.StringgetIconUri()Returns an iconURIfor this scope.StringgetId()Returns the unique identifier for this instance.StringgetName()Returns the name of this scope.ResourceServergetResourceServer()Returns theResourceServerinstance to where this scope belongs to.voidsetDisplayName(String name)Sets an end user friendly name for this scope.voidsetIconUri(String iconUri)Sets an iconURIfor this scope.voidsetName(String name)Sets a name for this scope.
 
- 
- 
- 
Method Detail- 
getIdString getId() Returns the unique identifier for this instance.- Returns:
- the unique identifier for this instance
 
 - 
getNameString getName() Returns the name of this scope.- Returns:
- the name of this scope
 
 - 
setNamevoid setName(String name) Sets a name for this scope. The name must be unique.- Parameters:
- name- the name of this scope
 
 - 
getDisplayNameString getDisplayName() Returns the end user friendly name for this scope. If not defined, value forgetName()is returned.- Returns:
- the friendly name for this scope
 
 - 
setDisplayNamevoid setDisplayName(String name) Sets an end user friendly name for this scope.- Parameters:
- name- the name of this scope
 
 - 
getResourceServerResourceServer getResourceServer() Returns theResourceServerinstance to where this scope belongs to.- Returns:
 
 
- 
 
-