IdentityProviders Class

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

Implements

public final class IdentityProviders
implements JsonSerializable<IdentityProviders>

The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.

Constructor Summary

Constructor Description
IdentityProviders()

Creates an instance of IdentityProviders class.

Method Summary

Modifier and Type Method and Description
Apple apple()

Get the apple property: The configuration settings of the Apple provider.

AzureActiveDirectory azureActiveDirectory()

Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.

AzureStaticWebApps azureStaticWebApps()

Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.

Map<String,CustomOpenIdConnectProvider> customOpenIdConnectProviders()

Get the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.

Facebook facebook()

Get the facebook property: The configuration settings of the Facebook provider.

static IdentityProviders fromJson(JsonReader jsonReader)

Reads an instance of IdentityProviders from the JsonReader.

GitHub gitHub()

Get the gitHub property: The configuration settings of the GitHub provider.

Google google()

Get the google property: The configuration settings of the Google provider.

LegacyMicrosoftAccount legacyMicrosoftAccount()

Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.

JsonWriter toJson(JsonWriter jsonWriter)
Twitter twitter()

Get the twitter property: The configuration settings of the Twitter provider.

void validate()

Validates the instance.

IdentityProviders withApple(Apple apple)

Set the apple property: The configuration settings of the Apple provider.

IdentityProviders withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)

Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.

IdentityProviders withAzureStaticWebApps(AzureStaticWebApps azureStaticWebApps)

Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.

IdentityProviders withCustomOpenIdConnectProviders(Map<String,CustomOpenIdConnectProvider> customOpenIdConnectProviders)

Set the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.

IdentityProviders withFacebook(Facebook facebook)

Set the facebook property: The configuration settings of the Facebook provider.

IdentityProviders withGitHub(GitHub gitHub)

Set the gitHub property: The configuration settings of the GitHub provider.

IdentityProviders withGoogle(Google google)

Set the google property: The configuration settings of the Google provider.

IdentityProviders withLegacyMicrosoftAccount(LegacyMicrosoftAccount legacyMicrosoftAccount)

Set the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.

IdentityProviders withTwitter(Twitter twitter)

Set the twitter property: The configuration settings of the Twitter provider.

Methods inherited from java.lang.Object

Constructor Details

IdentityProviders

public IdentityProviders()

Creates an instance of IdentityProviders class.

Method Details

apple

public Apple apple()

Get the apple property: The configuration settings of the Apple provider.

Returns:

the apple value.

azureActiveDirectory

public AzureActiveDirectory azureActiveDirectory()

Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.

Returns:

the azureActiveDirectory value.

azureStaticWebApps

public AzureStaticWebApps azureStaticWebApps()

Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.

Returns:

the azureStaticWebApps value.

customOpenIdConnectProviders

public Map customOpenIdConnectProviders()

Get the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.

Returns:

the customOpenIdConnectProviders value.

facebook

public Facebook facebook()

Get the facebook property: The configuration settings of the Facebook provider.

Returns:

the facebook value.

fromJson

public static IdentityProviders fromJson(JsonReader jsonReader)

Reads an instance of IdentityProviders from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gitHub

public GitHub gitHub()

Get the gitHub property: The configuration settings of the GitHub provider.

Returns:

the gitHub value.

google

public Google google()

Get the google property: The configuration settings of the Google provider.

Returns:

the google value.

legacyMicrosoftAccount

public LegacyMicrosoftAccount legacyMicrosoftAccount()

Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.

Returns:

the legacyMicrosoftAccount value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

twitter

public Twitter twitter()

Get the twitter property: The configuration settings of the Twitter provider.

Returns:

the twitter value.

validate

public void validate()

Validates the instance.

withApple

public IdentityProviders withApple(Apple apple)

Set the apple property: The configuration settings of the Apple provider.

Parameters:

apple - the apple value to set.

Returns:

the IdentityProviders object itself.

withAzureActiveDirectory

public IdentityProviders withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)

Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.

Parameters:

azureActiveDirectory - the azureActiveDirectory value to set.

Returns:

the IdentityProviders object itself.

withAzureStaticWebApps

public IdentityProviders withAzureStaticWebApps(AzureStaticWebApps azureStaticWebApps)

Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.

Parameters:

azureStaticWebApps - the azureStaticWebApps value to set.

Returns:

the IdentityProviders object itself.

withCustomOpenIdConnectProviders

public IdentityProviders withCustomOpenIdConnectProviders(Map customOpenIdConnectProviders)

Set the customOpenIdConnectProviders property: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.

Parameters:

customOpenIdConnectProviders - the customOpenIdConnectProviders value to set.

Returns:

the IdentityProviders object itself.

withFacebook

public IdentityProviders withFacebook(Facebook facebook)

Set the facebook property: The configuration settings of the Facebook provider.

Parameters:

facebook - the facebook value to set.

Returns:

the IdentityProviders object itself.

withGitHub

public IdentityProviders withGitHub(GitHub gitHub)

Set the gitHub property: The configuration settings of the GitHub provider.

Parameters:

gitHub - the gitHub value to set.

Returns:

the IdentityProviders object itself.

withGoogle

public IdentityProviders withGoogle(Google google)

Set the google property: The configuration settings of the Google provider.

Parameters:

google - the google value to set.

Returns:

the IdentityProviders object itself.

withLegacyMicrosoftAccount

public IdentityProviders withLegacyMicrosoftAccount(LegacyMicrosoftAccount legacyMicrosoftAccount)

Set the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.

Parameters:

legacyMicrosoftAccount - the legacyMicrosoftAccount value to set.

Returns:

the IdentityProviders object itself.

withTwitter

public IdentityProviders withTwitter(Twitter twitter)

Set the twitter property: The configuration settings of the Twitter provider.

Parameters:

twitter - the twitter value to set.

Returns:

the IdentityProviders object itself.

Applies to