Table of Contents

Class AzureADB2CLoginProvider

Namespace
Dynamicweb.ExternalAuthentication
Assembly
Dynamicweb.ExternalAuthentication.dll

Azure Active Directory B2C login provider

[AddInName("Azure B2C")]
[AddInDescription("Azure Active Directory B2C login provider.")]
public sealed class AzureADB2CLoginProvider : BaseOAuthLoginProvider, IUpdateOpenIdConnectOptions
Inheritance
AzureADB2CLoginProvider
Implements
Inherited Members

Properties

ClientId

[AddInParameterGroup("External credentials")]
[AddInLabel("Client id")]
[AddInParameter("ClientId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? ClientId { get; set; }

Property Value

string

ClientSecret

[AddInParameterGroup("External credentials")]
[AddInLabel("Client secret")]
[AddInParameter("ClientSecret")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string? ClientSecret { get; set; }

Property Value

string

ErrorPage

Sets the page to show authentication error. Use it when the authentication provider is used in the frontend.

[AddInParameterGroup("Frontend")]
[AddInLabel("Authentication error page")]
[AddInParameter("ErrorPage")]
[AddInParameterEditor(typeof(PageSelectEditor), "")]
public override string? ErrorPage { get; set; }

Property Value

string

Instance

[AddInParameterGroup("External credentials")]
[AddInLabel("Instance")]
[AddInParameter("Instance")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? Instance { get; set; }

Property Value

string

ProviderScheme

The name of the provider authentication scheme.

[AddInParameterGroup("External credentials")]
[AddInLabel("Provider scheme")]
[AddInParameter("ProviderScheme")]
[AddInParameterEditor(typeof(TextParameterEditor), "required;info=Note, the redirect Uri parameter of identity provider must be set as /signin-{provider-scheme}, e.g. /signin-azureb2c")]
public override string ProviderScheme { get; set; }

Property Value

string

SignUpSignInPolicyId

[AddInParameterGroup("External credentials")]
[AddInLabel("Sign up or sign in policy name")]
[AddInParameter("SignUpSignInPolicyId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? SignUpSignInPolicyId { get; set; }

Property Value

string

TenantId

[AddInParameterGroup("External credentials")]
[AddInLabel("Tenant id")]
[AddInParameter("TenantId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? TenantId { get; set; }

Property Value

string
To top