Class AzureActiveDirectoryLogin
java.lang.Object
com.azure.resourcemanager.appservice.models.AzureActiveDirectoryLogin
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureActiveDirectoryLogin>
public final class AzureActiveDirectoryLogin
extends Object
implements com.azure.json.JsonSerializable<AzureActiveDirectoryLogin>
The configuration settings of the Azure Active Directory login flow.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureActiveDirectoryLogin class. -
Method Summary
Modifier and TypeMethodDescriptionGet the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.static AzureActiveDirectoryLogin
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AzureActiveDirectoryLogin from the JsonReader.Get the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDisableWwwAuthenticate
(Boolean disableWwwAuthenticate) Set the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.withLoginParameters
(List<String> loginParameters) Set the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureActiveDirectoryLogin
public AzureActiveDirectoryLogin()Creates an instance of AzureActiveDirectoryLogin class.
-
-
Method Details
-
loginParameters
Get the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".- Returns:
- the loginParameters value.
-
withLoginParameters
Set the loginParameters property: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".- Parameters:
loginParameters
- the loginParameters value to set.- Returns:
- the AzureActiveDirectoryLogin object itself.
-
disableWwwAuthenticate
Get the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.- Returns:
- the disableWwwAuthenticate value.
-
withDisableWwwAuthenticate
Set the disableWwwAuthenticate property: <code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>.- Parameters:
disableWwwAuthenticate
- the disableWwwAuthenticate value to set.- Returns:
- the AzureActiveDirectoryLogin object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AzureActiveDirectoryLogin>
- Throws:
IOException
-
fromJson
public static AzureActiveDirectoryLogin fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureActiveDirectoryLogin from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AzureActiveDirectoryLogin if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the AzureActiveDirectoryLogin.
-