Class IdentityProviders
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.IdentityProviders
-
public final class IdentityProviders extends Object
The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
-
-
Constructor Summary
Constructors Constructor Description IdentityProviders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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
withTwitter(Twitter twitter)
Set the twitter property: The configuration settings of the Twitter provider.
-
-
-
Method Detail
-
azureActiveDirectory
public AzureActiveDirectory azureActiveDirectory()
Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.- Returns:
- the azureActiveDirectory value.
-
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.
-
facebook
public Facebook facebook()
Get the facebook property: The configuration settings of the Facebook provider.- Returns:
- the facebook value.
-
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.
-
gitHub
public GitHub gitHub()
Get the gitHub property: The configuration settings of the GitHub provider.- Returns:
- the gitHub value.
-
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.
-
google
public Google google()
Get the google property: The configuration settings of the Google provider.- Returns:
- the google value.
-
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.
-
twitter
public Twitter twitter()
Get the twitter property: The configuration settings of the Twitter provider.- Returns:
- the twitter value.
-
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.
-
apple
public Apple apple()
Get the apple property: The configuration settings of the Apple provider.- Returns:
- the apple value.
-
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.
-
azureStaticWebApps
public AzureStaticWebApps azureStaticWebApps()
Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.- Returns:
- the azureStaticWebApps value.
-
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.
-
customOpenIdConnectProviders
public 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.- Returns:
- the customOpenIdConnectProviders value.
-
withCustomOpenIdConnectProviders
public 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.- Parameters:
customOpenIdConnectProviders
- the customOpenIdConnectProviders value to set.- Returns:
- the IdentityProviders object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-