Class IdentityProviders
java.lang.Object
com.azure.resourcemanager.appcontainers.models.IdentityProviders
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IdentityProviders>
public final class IdentityProviders
extends Object
implements com.azure.json.JsonSerializable<IdentityProviders>
The configuration settings of each of the identity providers used to configure ContainerApp Service
Authentication/Authorization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapple()
Get the apple property: The configuration settings of the Apple provider.Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.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()
Get the facebook property: The configuration settings of the Facebook provider.static IdentityProviders
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of IdentityProviders from the JsonReader.gitHub()
Get the gitHub property: The configuration settings of the GitHub provider.google()
Get the google property: The configuration settings of the Google provider.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) twitter()
Get the twitter property: The configuration settings of the Twitter provider.void
validate()
Validates the instance.Set the apple property: The configuration settings of the Apple provider.withAzureActiveDirectory
(AzureActiveDirectory azureActiveDirectory) Set the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.withAzureStaticWebApps
(AzureStaticWebApps azureStaticWebApps) Set the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.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.withFacebook
(Facebook facebook) Set the facebook property: The configuration settings of the Facebook provider.withGitHub
(GitHub gitHub) Set the gitHub property: The configuration settings of the GitHub provider.withGoogle
(Google google) Set the google property: The configuration settings of the Google provider.withTwitter
(Twitter twitter) Set the twitter property: The configuration settings of the Twitter provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
IdentityProviders
public IdentityProviders()Creates an instance of IdentityProviders class.
-
-
Method Details
-
azureActiveDirectory
Get the azureActiveDirectory property: The configuration settings of the Azure Active directory provider.- Returns:
- the azureActiveDirectory value.
-
withAzureActiveDirectory
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
Get the facebook property: The configuration settings of the Facebook provider.- Returns:
- the facebook value.
-
withFacebook
Set the facebook property: The configuration settings of the Facebook provider.- Parameters:
facebook
- the facebook value to set.- Returns:
- the IdentityProviders object itself.
-
gitHub
Get the gitHub property: The configuration settings of the GitHub provider.- Returns:
- the gitHub value.
-
withGitHub
Set the gitHub property: The configuration settings of the GitHub provider.- Parameters:
gitHub
- the gitHub value to set.- Returns:
- the IdentityProviders object itself.
-
google
Get the google property: The configuration settings of the Google provider.- Returns:
- the google value.
-
withGoogle
Set the google property: The configuration settings of the Google provider.- Parameters:
google
- the google value to set.- Returns:
- the IdentityProviders object itself.
-
twitter
Get the twitter property: The configuration settings of the Twitter provider.- Returns:
- the twitter value.
-
withTwitter
Set the twitter property: The configuration settings of the Twitter provider.- Parameters:
twitter
- the twitter value to set.- Returns:
- the IdentityProviders object itself.
-
apple
Get the apple property: The configuration settings of the Apple provider.- Returns:
- the apple value.
-
withApple
Set the apple property: The configuration settings of the Apple provider.- Parameters:
apple
- the apple value to set.- Returns:
- the IdentityProviders object itself.
-
azureStaticWebApps
Get the azureStaticWebApps property: The configuration settings of the Azure Static Web Apps provider.- Returns:
- the azureStaticWebApps value.
-
withAzureStaticWebApps
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
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.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<IdentityProviders>
- Throws:
IOException
-
fromJson
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.
-