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 |
getDisplayName() |
String |
getIconUri() |
String |
getId() |
String |
getName() |
List<PolicyRepresentation> |
getPolicies() |
List<ResourceRepresentation> |
getResources() |
int |
hashCode() |
void |
setDisplayName(String displayName) |
void |
setIconUri(String iconUri) |
void |
setId(String id) |
void |
setName(String name) |
void |
setPolicies(List<PolicyRepresentation> policies) |
void |
setResources(List<ResourceRepresentation> resources) |
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()
public String getName()
public String getDisplayName()
public String getIconUri()
public String getId()
public void setId(String id)
public void setName(String name)
public void setDisplayName(String displayName)
public void setIconUri(String iconUri)
public List<PolicyRepresentation> getPolicies()
public void setPolicies(List<PolicyRepresentation> policies)
public List<ResourceRepresentation> getResources()
public void setResources(List<ResourceRepresentation> resources)
Copyright © 2019 JBoss by Red Hat. All rights reserved.