CustomOpenIdConnectProvider Class

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

Implements

public final class CustomOpenIdConnectProvider
implements JsonSerializable<CustomOpenIdConnectProvider>

The configuration settings of the custom Open ID Connect provider.

Constructor Summary

Constructor Description
CustomOpenIdConnectProvider()

Creates an instance of CustomOpenIdConnectProvider class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: false if the custom Open ID provider provider should not be enabled; otherwise, true.

static CustomOpenIdConnectProvider fromJson(JsonReader jsonReader)

Reads an instance of CustomOpenIdConnectProvider from the JsonReader.

OpenIdConnectLogin login()

Get the login property: The configuration settings of the login flow of the custom Open ID Connect provider.

OpenIdConnectRegistration registration()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomOpenIdConnectProvider withEnabled(Boolean enabled)

Set the enabled property: false if the custom Open ID provider provider should not be enabled; otherwise, true.

CustomOpenIdConnectProvider withLogin(OpenIdConnectLogin login)

Set the login property: The configuration settings of the login flow of the custom Open ID Connect provider.

CustomOpenIdConnectProvider withRegistration(OpenIdConnectRegistration registration)

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

Methods inherited from java.lang.Object

Constructor Details

CustomOpenIdConnectProvider

public CustomOpenIdConnectProvider()

Creates an instance of CustomOpenIdConnectProvider class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: false if the custom Open ID provider provider should not be enabled; otherwise, true.

Returns:

the enabled value.

fromJson

public static CustomOpenIdConnectProvider fromJson(JsonReader jsonReader)

Reads an instance of CustomOpenIdConnectProvider from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomOpenIdConnectProvider 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 CustomOpenIdConnectProvider.

login

public OpenIdConnectLogin login()

Get the login property: The configuration settings of the login flow of the custom Open ID Connect provider.

Returns:

the login value.

registration

public OpenIdConnectRegistration registration()

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

Returns:

the registration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public CustomOpenIdConnectProvider withEnabled(Boolean enabled)

Set the enabled property: false if the custom Open ID provider provider should not be enabled; otherwise, true.

Parameters:

enabled - the enabled value to set.

Returns:

the CustomOpenIdConnectProvider object itself.

withLogin

public CustomOpenIdConnectProvider withLogin(OpenIdConnectLogin login)

Set the login property: The configuration settings of the login flow of the custom Open ID Connect provider.

Parameters:

login - the login value to set.

Returns:

the CustomOpenIdConnectProvider object itself.

withRegistration

public CustomOpenIdConnectProvider withRegistration(OpenIdConnectRegistration registration)

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

Parameters:

registration - the registration value to set.

Returns:

the CustomOpenIdConnectProvider object itself.

Applies to