Поделиться через


OpenIdConnectRegistration Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.OpenIdConnectRegistration

Implements

public final class OpenIdConnectRegistration
implements JsonSerializable<OpenIdConnectRegistration>

The configuration settings of the app registration for the custom Open ID Connect provider.

Constructor Summary

Constructor Description
OpenIdConnectRegistration()

Creates an instance of OpenIdConnectRegistration class.

Method Summary

Modifier and Type Method and Description
OpenIdConnectClientCredential clientCredential()

Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.

String clientId()

Get the clientId property: The client id of the custom Open ID Connect provider.

static OpenIdConnectRegistration fromJson(JsonReader jsonReader)

Reads an instance of OpenIdConnectRegistration from the JsonReader.

OpenIdConnectConfig openIdConnectConfiguration()

Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OpenIdConnectRegistration withClientCredential(OpenIdConnectClientCredential clientCredential)

Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.

OpenIdConnectRegistration withClientId(String clientId)

Set the clientId property: The client id of the custom Open ID Connect provider.

OpenIdConnectRegistration withOpenIdConnectConfiguration(OpenIdConnectConfig openIdConnectConfiguration)

Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.

Methods inherited from java.lang.Object

Constructor Details

OpenIdConnectRegistration

public OpenIdConnectRegistration()

Creates an instance of OpenIdConnectRegistration class.

Method Details

clientCredential

public OpenIdConnectClientCredential clientCredential()

Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.

Returns:

the clientCredential value.

clientId

public String clientId()

Get the clientId property: The client id of the custom Open ID Connect provider.

Returns:

the clientId value.

fromJson

public static OpenIdConnectRegistration fromJson(JsonReader jsonReader)

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to