Table of Contents

Class ExternalLoginProvider

Namespace
Dynamicweb.Security.UserManagement.ExternalAuthentication
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

string

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

bool

ProviderScheme

The name of the provider authentication scheme.

public abstract string ProviderScheme { get; set; }

Property Value

string

Methods

CreateInstance(string, string?)

Creates an instance of an external login provider.

public static ExternalLoginProvider? CreateInstance(string providerTypeName, string? providerParameters)

Parameters

providerTypeName string

The provider type name.

providerParameters string

The provider parameters.

Returns

ExternalLoginProvider

CreateInstance<T>(string?)

Creates an instance of an external login provider.

public static T? CreateInstance<T>(string? providerParameters) where T : ExternalLoginProvider

Parameters

providerParameters string

The provider parameters.

Returns

T

Type Parameters

T
To top