public class TokenRequestContext extends Object
| Constructor and Description |
|---|
TokenRequestContext()
Creates a token request instance.
|
| Modifier and Type | Method and Description |
|---|---|
TokenRequestContext |
addScopes(String... scopes)
Adds one or more scopes to the request scopes.
|
List<String> |
getScopes()
Gets the scopes required for the token.
|
TokenRequestContext |
setScopes(List<String> scopes)
Sets the scopes required for the token.
|
public TokenRequestContext()
public List<String> getScopes()
public TokenRequestContext setScopes(List<String> scopes)
scopes - the scopes required for the tokenpublic TokenRequestContext addScopes(String... scopes)
scopes - one or more scopes to addCopyright © 2020 Microsoft Corporation. All rights reserved.