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
ConstructorDescriptionCreates an instance.ScopeRepresentation
(String name) Creates an instance.ScopeRepresentation
(String name, String iconUri) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getName()
int
hashCode()
void
setDisplayName
(String displayName) void
setIconUri
(String iconUri) void
void
void
setPolicies
(List<PolicyRepresentation> policies) void
setResources
(List<ResourceRepresentation> resources)
-
Constructor Details
-
ScopeRepresentation
Creates an instance.- Parameters:
name
- the a human-readable string describing some scope (extent) of accessiconUri
- aURI
for 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