| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| com.authlete.common.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Scope[] |
AuthorizationResponse.getScopes()
Get the scopes which the client application requests by
"scope" request parameter. |
Scope[] |
Service.getSupportedScopes()
Get the supported scopes.
|
Scope |
Scope.setDefaultEntry(boolean defaultEntry)
Set the flag that indicates whether this scope is included in
the default scope list.
|
Scope |
Scope.setDescription(String description)
Set the description.
|
Scope |
Scope.setDescriptions(TaggedValue[] descriptions)
Set descriptions for various languages.
|
Scope |
Scope.setName(String name)
Set the scope name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Scope.NameComparator.compare(Scope a,
Scope b) |
static String[] |
Scope.extractNames(Scope[] scopes)
Extract scope names.
|
void |
AuthorizationResponse.setScopes(Scope[] scopes)
Set the scopes which the client application requests or the
default scopes when the authorization request does not contain
"scope" request parameter. |
Service |
Service.setSupportedScopes(Scope[] supportedScopes)
Set the supported scopes.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Utils.stringifyScopeNames(Scope[] scopes)
Generate a list of scope names.
|
Copyright © 2017. All rights reserved.