Class OpenIdConnectRegistration
java.lang.Object
com.azure.resourcemanager.appservice.models.OpenIdConnectRegistration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OpenIdConnectRegistration>
public final class OpenIdConnectRegistration
extends Object
implements com.azure.json.JsonSerializable<OpenIdConnectRegistration>
The configuration settings of the app registration for the custom Open ID Connect provider.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OpenIdConnectRegistration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientCredential property: The authentication credentials of the custom Open ID Connect provider.clientId()
Get the clientId property: The client id of the custom Open ID Connect provider.static OpenIdConnectRegistration
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of OpenIdConnectRegistration from the JsonReader.Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withClientCredential
(OpenIdConnectClientCredential clientCredential) Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.withClientId
(String clientId) Set the clientId property: The client id of the custom Open ID Connect provider.withOpenIdConnectConfiguration
(OpenIdConnectConfig openIdConnectConfiguration) Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.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
-
OpenIdConnectRegistration
public OpenIdConnectRegistration()Creates an instance of OpenIdConnectRegistration class.
-
-
Method Details
-
clientId
Get the clientId property: The client id of the custom Open ID Connect provider.- Returns:
- the clientId value.
-
withClientId
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
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
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.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<OpenIdConnectRegistration>
- Throws:
IOException
-
fromJson
public static OpenIdConnectRegistration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OpenIdConnectRegistration from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of OpenIdConnectRegistration 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 OpenIdConnectRegistration.
-