public class GrantScope extends Object implements Serializable
This class holds the same information as each entry in the "scopes"
array in the response from the Grant Management Endpoint on the grant
management action 'query' does.
| Constructor and Description |
|---|
GrantScope()
The default constructor with no argument.
|
GrantScope(String scope,
String[] resource)
A constructor with initial property values.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getResource()
Get the resource.
|
String |
getScope()
Get the space-delimited scopes.
|
GrantScope |
setResource(String[] resource)
Set the resource.
|
GrantScope |
setScope(String scope)
Set the space-delimited scopes.
|
public String getScope()
public GrantScope setScope(String scope)
scope - The space-delimited scopes.this object.public String[] getResource()
public GrantScope setResource(String[] resource)
resource - A list of resource indicators.this object.Copyright © 2022. All rights reserved.