Class OpenIdConnectClientCredential
java.lang.Object
com.azure.resourcemanager.appservice.models.OpenIdConnectClientCredential
The authentication client credentials of the custom Open ID Connect provider.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OpenIdConnectClientCredential class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.method()Get the method property: The method that should be used to authenticate the user.voidvalidate()Validates the instance.withClientSecretSettingName(String clientSecretSettingName) Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.withMethod(ClientCredentialMethod method) Set the method property: The method that should be used to authenticate the user.
-
Constructor Details
-
OpenIdConnectClientCredential
public OpenIdConnectClientCredential()Creates an instance of OpenIdConnectClientCredential class.
-
-
Method Details
-
method
Get the method property: The method that should be used to authenticate the user.- Returns:
- the method value.
-
withMethod
Set the method property: The method that should be used to authenticate the user.- Parameters:
method- the method value to set.- Returns:
- the OpenIdConnectClientCredential object itself.
-
clientSecretSettingName
Get the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.- Returns:
- the clientSecretSettingName value.
-
withClientSecretSettingName
Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.- Parameters:
clientSecretSettingName- the clientSecretSettingName value to set.- Returns:
- the OpenIdConnectClientCredential object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-