LoginScopes Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. LoginScopes
- com.
Implements
public final class LoginScopes
implements JsonSerializable<LoginScopes>
The configuration settings of the login flow, including the scopes that should be requested.
Constructor Summary
| Constructor | Description |
|---|---|
| LoginScopes() |
Creates an instance of Login |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Login |
fromJson(JsonReader jsonReader)
Reads an instance of Login |
| List<String> |
scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Login |
withScopes(List<String> scopes)
Set the scopes property: A list of the scopes that should be requested while authenticating. |
Methods inherited from java.lang.Object
Constructor Details
LoginScopes
public LoginScopes()
Creates an instance of LoginScopes class.
Method Details
fromJson
public static LoginScopes fromJson(JsonReader jsonReader)
Reads an instance of LoginScopes from the JsonReader.
Parameters:
Returns:
Throws:
scopes
public List<String> scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating.
Returns:
toJson
validate
public void validate()
Validates the instance.
withScopes
public LoginScopes withScopes(List<String> scopes)
Set the scopes property: A list of the scopes that should be requested while authenticating.
Parameters:
Returns: