Class OpenIdConnectClientCredential
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.OpenIdConnectClientCredential
-
public final class OpenIdConnectClientCredential extends Object
The authentication client credentials of the custom Open ID Connect provider.
-
-
Constructor Summary
Constructors Constructor Description OpenIdConnectClientCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientSecretSettingName()
Get the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.ClientCredentialMethod
method()
Get the method property: The method that should be used to authenticate the user.void
validate()
Validates the instance.OpenIdConnectClientCredential
withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.OpenIdConnectClientCredential
withMethod(ClientCredentialMethod method)
Set the method property: The method that should be used to authenticate the user.
-
-
-
Method Detail
-
method
public ClientCredentialMethod method()
Get the method property: The method that should be used to authenticate the user.- Returns:
- the method value.
-
withMethod
public OpenIdConnectClientCredential withMethod(ClientCredentialMethod method)
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
public String 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
public OpenIdConnectClientCredential withClientSecretSettingName(String clientSecretSettingName)
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.
-
-