Table of Contents

Class AdminAuthenticationOptions

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Options for authentication.

public sealed class AdminAuthenticationOptions
Inheritance
object
AdminAuthenticationOptions
Extension Methods

Constructors

AdminAuthenticationOptions()

Initializes a new instance of AdminAuthenticationOptions.

public AdminAuthenticationOptions()

Properties

CookieEventsOptions

Allows to configure cookie authentication events options.

public AdminCookieAuthenticationEventsOptions CookieEventsOptions { get; init; }

Property Value

AdminCookieAuthenticationEventsOptions

ExpireTimeSpan

Controls how long authentication cookie will remain valid from the point it is created.

public TimeSpan ExpireTimeSpan { get; set; }

Property Value

TimeSpan

Remarks

Default value is 30 minutes.

Mode

Allows to configure if the default forms authentication should be maintained together with an external authentication provider. By default, if an external authentication provider is registered, this provider is the only authentication option.

public AdminAuthenticationMode Mode { get; set; }

Property Value

AdminAuthenticationMode

MultiFactorAuthenticationOptions

Allows to configure multi-factor authentication options.

public AdminMultiFactorAuthenticationOptions MultiFactorAuthenticationOptions { get; init; }

Property Value

AdminMultiFactorAuthenticationOptions