IdentityProviders Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. IdentityProviders
- com.
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 Identity |
Method Summary
Modifier and Type | Method and Description |
---|---|
Apple |
apple()
Get the apple property: The configuration settings of the Apple provider. |
Azure |
azureActiveDirectory()
Get the azure |
Azure |
azureStaticWebApps()
Get the azure |
Map<String,Custom |
customOpenIdConnectProviders()
Get the custom |
facebook()
Get the facebook property: The configuration settings of the Facebook provider. |
|
static
Identity |
fromJson(JsonReader jsonReader)
Reads an instance of Identity |
Git |
gitHub()
Get the git |
google()
Get the google property: The configuration settings of the Google provider. |
|
Legacy |
legacyMicrosoftAccount()
Get the legacy |
Json |
toJson(JsonWriter jsonWriter) |
twitter()
Get the twitter property: The configuration settings of the Twitter provider. |
|
void |
validate()
Validates the instance. |
Identity |
withApple(Apple apple)
Set the apple property: The configuration settings of the Apple provider. |
Identity |
withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)
Set the azure |
Identity |
withAzureStaticWebApps(AzureStaticWebApps azureStaticWebApps)
Set the azure |
Identity |
withCustomOpenIdConnectProviders(Map<String,CustomOpenIdConnectProvider> customOpenIdConnectProviders)
Set the custom |
Identity |
withFacebook(Facebook facebook)
Set the facebook property: The configuration settings of the Facebook provider. |
Identity |
withGitHub(GitHub gitHub)
Set the git |
Identity |
withGoogle(Google google)
Set the google property: The configuration settings of the Google provider. |
Identity |
withLegacyMicrosoftAccount(LegacyMicrosoftAccount legacyMicrosoftAccount)
Set the legacy |
Identity |
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:
azureActiveDirectory
public AzureActiveDirectory azureActiveDirectory()
Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.
Returns:
azureStaticWebApps
public AzureStaticWebApps azureStaticWebApps()
Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.
Returns:
customOpenIdConnectProviders
public Map
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:
public Facebook facebook()
Get the facebook property: The configuration settings of the Facebook provider.
Returns:
fromJson
public static IdentityProviders fromJson(JsonReader jsonReader)
Reads an instance of IdentityProviders from the JsonReader.
Parameters:
Returns:
Throws:
gitHub
public GitHub gitHub()
Get the gitHub property: The configuration settings of the GitHub provider.
Returns:
public Google google()
Get the google property: The configuration settings of the Google provider.
Returns:
legacyMicrosoftAccount
public LegacyMicrosoftAccount legacyMicrosoftAccount()
Get the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.
Returns:
toJson
public Twitter twitter()
Get the twitter property: The configuration settings of the Twitter provider.
Returns:
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:
Returns:
withAzureActiveDirectory
public IdentityProviders withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)
Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.
Parameters:
Returns:
withAzureStaticWebApps
public IdentityProviders withAzureStaticWebApps(AzureStaticWebApps azureStaticWebApps)
Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.
Parameters:
Returns:
withCustomOpenIdConnectProviders
public IdentityProviders withCustomOpenIdConnectProviders(Map
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:
Returns:
withFacebook
public IdentityProviders withFacebook(Facebook facebook)
Set the facebook property: The configuration settings of the Facebook provider.
Parameters:
Returns:
withGitHub
public IdentityProviders withGitHub(GitHub gitHub)
Set the gitHub property: The configuration settings of the GitHub provider.
Parameters:
Returns:
withGoogle
public IdentityProviders withGoogle(Google google)
Set the google property: The configuration settings of the Google provider.
Parameters:
Returns:
withLegacyMicrosoftAccount
public IdentityProviders withLegacyMicrosoftAccount(LegacyMicrosoftAccount legacyMicrosoftAccount)
Set the legacyMicrosoftAccount property: The configuration settings of the legacy Microsoft Account provider.
Parameters:
Returns:
withTwitter
public IdentityProviders withTwitter(Twitter twitter)
Set the twitter property: The configuration settings of the Twitter provider.
Parameters:
Returns:
Applies to
Azure SDK for Java