Class OpenIdConnectRegistration
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.OpenIdConnectRegistration
-
public final class OpenIdConnectRegistration extends Object
The configuration settings of the app registration for the custom Open ID Connect provider.
-
-
Constructor Summary
Constructors Constructor Description OpenIdConnectRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenIdConnectClientCredentialclientCredential()Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.StringclientId()Get the clientId property: The client id of the custom Open ID Connect provider.OpenIdConnectConfigopenIdConnectConfiguration()Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.voidvalidate()Validates the instance.OpenIdConnectRegistrationwithClientCredential(OpenIdConnectClientCredential clientCredential)Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.OpenIdConnectRegistrationwithClientId(String clientId)Set the clientId property: The client id of the custom Open ID Connect provider.OpenIdConnectRegistrationwithOpenIdConnectConfiguration(OpenIdConnectConfig openIdConnectConfiguration)Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.
-
-
-
Method Detail
-
clientId
public String clientId()
Get the clientId property: The client id of the custom Open ID Connect provider.- Returns:
- the clientId value.
-
withClientId
public OpenIdConnectRegistration withClientId(String clientId)
Set the clientId property: The client id of the custom Open ID Connect provider.- Parameters:
clientId- the clientId value to set.- Returns:
- the OpenIdConnectRegistration object itself.
-
clientCredential
public OpenIdConnectClientCredential clientCredential()
Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.- Returns:
- the clientCredential value.
-
withClientCredential
public OpenIdConnectRegistration withClientCredential(OpenIdConnectClientCredential clientCredential)
Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.- Parameters:
clientCredential- the clientCredential value to set.- Returns:
- the OpenIdConnectRegistration object itself.
-
openIdConnectConfiguration
public OpenIdConnectConfig openIdConnectConfiguration()
Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.- Returns:
- the openIdConnectConfiguration value.
-
withOpenIdConnectConfiguration
public OpenIdConnectRegistration withOpenIdConnectConfiguration(OpenIdConnectConfig openIdConnectConfiguration)
Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.- Parameters:
openIdConnectConfiguration- the openIdConnectConfiguration value to set.- Returns:
- the OpenIdConnectRegistration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-