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.
Constructor and Description |
---|
ScopeRepresentation()
Creates an instance.
|
ScopeRepresentation(String name)
Creates an instance.
|
ScopeRepresentation(String name,
String iconUri)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getIconUri() |
String |
getId() |
String |
getName() |
int |
hashCode() |
void |
setIconUri(String iconUri) |
void |
setId(String id) |
void |
setName(String name) |
public ScopeRepresentation(String name, String iconUri)
name
- the a human-readable string describing some scope (extent) of accessiconUri
- a URI
for a graphic icon representing the scopepublic ScopeRepresentation(String name)
name
- the a human-readable string describing some scope (extent) of accesspublic ScopeRepresentation()
Copyright © 2019 JBoss by Red Hat. All rights reserved.