예제 #1
0
 /// <summary>
 /// Initializes a new instance of the IdentityProviders class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 public IdentityProviders(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), AzureActiveDirectory azureActiveDirectory = default(AzureActiveDirectory), Facebook facebook = default(Facebook), GitHub gitHub = default(GitHub), Google google = default(Google), Twitter twitter = default(Twitter), IDictionary <string, CustomOpenIdConnectProvider> customOpenIdConnectProviders = default(IDictionary <string, CustomOpenIdConnectProvider>))
     : base(id, name, kind, type)
 {
     AzureActiveDirectory = azureActiveDirectory;
     Facebook             = facebook;
     GitHub  = gitHub;
     Google  = google;
     Twitter = twitter;
     CustomOpenIdConnectProviders = customOpenIdConnectProviders;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the IdentityProviders class.
 /// </summary>
 /// <param name="azureActiveDirectory">The configuration settings of
 /// the Azure Active directory provider.</param>
 /// <param name="facebook">The configuration settings of the Facebook
 /// provider.</param>
 /// <param name="gitHub">The configuration settings of the GitHub
 /// provider.</param>
 /// <param name="google">The configuration settings of the Google
 /// provider.</param>
 /// <param name="legacyMicrosoftAccount">The configuration settings of
 /// the legacy Microsoft Account provider.</param>
 /// <param name="twitter">The configuration settings of the Twitter
 /// provider.</param>
 /// <param name="apple">The configuration settings of the Apple
 /// provider.</param>
 /// <param name="azureStaticWebApps">The configuration settings of the
 /// Azure Static Web Apps provider.</param>
 /// <param name="customOpenIdConnectProviders">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.</param>
 public IdentityProviders(AzureActiveDirectory azureActiveDirectory = default(AzureActiveDirectory), Facebook facebook = default(Facebook), GitHub gitHub = default(GitHub), Google google = default(Google), LegacyMicrosoftAccount legacyMicrosoftAccount = default(LegacyMicrosoftAccount), Twitter twitter = default(Twitter), Apple apple = default(Apple), AzureStaticWebApps azureStaticWebApps = default(AzureStaticWebApps), IDictionary <string, CustomOpenIdConnectProvider> customOpenIdConnectProviders = default(IDictionary <string, CustomOpenIdConnectProvider>))
 {
     AzureActiveDirectory = azureActiveDirectory;
     Facebook             = facebook;
     GitHub = gitHub;
     Google = google;
     LegacyMicrosoftAccount = legacyMicrosoftAccount;
     Twitter                      = twitter;
     Apple                        = apple;
     AzureStaticWebApps           = azureStaticWebApps;
     CustomOpenIdConnectProviders = customOpenIdConnectProviders;
     CustomInit();
 }