Class ScopeRepresentation
java.lang.Object
org.keycloak.representations.idm.authorization.ScopeRepresentation
- Direct Known Subclasses:
 AbstractResourceService.Scope
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 Summary
ConstructorsConstructorDescriptionCreates an instance.ScopeRepresentation(String name) Creates an instance.ScopeRepresentation(String name, String iconUri) Creates an instance. - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getName()inthashCode()voidsetDisplayName(String displayName) voidsetIconUri(String iconUri) voidvoidvoidsetPolicies(List<PolicyRepresentation> policies) voidsetResources(List<ResourceRepresentation> resources)  
- 
Constructor Details
- 
ScopeRepresentation
Creates an instance.- Parameters:
 name- the a human-readable string describing some scope (extent) of accessiconUri- aURIfor a graphic icon representing the scope
 - 
ScopeRepresentation
Creates an instance.- Parameters:
 name- the a human-readable string describing some scope (extent) of access
 - 
ScopeRepresentation
public ScopeRepresentation()Creates an instance. 
 - 
 - 
Method Details