Table of Contents

Class DemoIdentityOptions

Namespace
ReferenceApplication.Web.Authentication.Demo
Assembly
ReferenceApplication.Web.dll

Defines the explicitly enabled, Development-only demo identity control.

public sealed class DemoIdentityOptions
Inheritance
DemoIdentityOptions
Inherited Members

Fields

DatabaseConnectionStringName

Gets the connection-string name reserved for the disposable Development demonstration database.

public const string DatabaseConnectionStringName = "DemonstrationDatabase"

Field Value

string

ResetDatabasePath

Gets the Development-only path that resets the disposable demonstration database.

public const string ResetDatabasePath = "/governance-explorer/reset-database"

Field Value

string

SectionName

Gets the configuration section for the demo identity control.

public const string SectionName = "ReferenceApplication:DemoIdentity"

Field Value

string

SignInPath

Gets the path that creates a selected demo identity cookie.

public const string SignInPath = "/Account/DemoSignIn"

Field Value

string

Properties

Enabled

Gets or sets a value indicating whether the control is explicitly enabled. The control is still unavailable outside the Development environment.

public bool Enabled { get; set; }

Property Value

bool