Class LoginScopes
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.LoginScopes
-
public final class LoginScopes extends Object
The configuration settings of the login flow, including the scopes that should be requested.
-
-
Constructor Summary
Constructors Constructor Description LoginScopes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
scopes
public List<String> scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating.- Returns:
- the scopes value.
-
withScopes
public LoginScopes withScopes(List<String> scopes)
Set the scopes property: A list of the scopes that should be requested while authenticating.- Parameters:
scopes
- the scopes value to set.- Returns:
- the LoginScopes object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-