Class ExternalLoginProvider
- Assembly
- Dynamicweb.Core.dll
Represents a base class for implementing external login providers.
public abstract class ExternalLoginProvider : ConfigurableAddIn
- Inheritance
-
ExternalLoginProvider
- Derived
- Inherited Members
Properties
NewUserGroups
Groups assigned to the new user created by External Login account info.
[AddInParameterGroup("Extranet settings")]
[AddInLabel("Groups for new users")]
[AddInParameter("NewUserGroups")]
[AddInParameterEditor(typeof(UserGroupParameterEditor), "multiple=true")]
public string? NewUserGroups { get; set; }
Property Value
OnlyDoVerificationExternally
When set, only username and password validation is handled externally. If external validation succeeds, the dynamicweb user with the matching Username is logged in.
[AddInParameterGroup("Extranet settings")]
[AddInLabel("Handle only external verification")]
[AddInParameter("OnlyDoVerificationExternally")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool OnlyDoVerificationExternally { get; set; }
Property Value
ProviderScheme
The name of the provider authentication scheme.
public abstract string ProviderScheme { get; set; }
Property Value
Methods
CreateInstance(string, string?)
Creates an instance of an external login provider.
public static ExternalLoginProvider? CreateInstance(string providerTypeName, string? providerParameters)
Parameters
Returns
CreateInstance<T>(string?)
Creates an instance of an external login provider.
public static T? CreateInstance<T>(string? providerParameters) where T : ExternalLoginProvider
Parameters
providerParametersstringThe provider parameters.
Returns
- T
Type Parameters
T