public final class LoginScopes extends Object
| Constructor and Description |
|---|
LoginScopes() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating.
|
void |
validate()
Validates the instance.
|
LoginScopes |
withScopes(List<String> scopes)
Set the scopes property: A list of the scopes that should be requested while authenticating.
|
public List<String> scopes()
public LoginScopes withScopes(List<String> scopes)
scopes - the scopes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.