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
ResetDatabasePath
Gets the Development-only path that resets the disposable demonstration database.
public const string ResetDatabasePath = "/governance-explorer/reset-database"
Field Value
SectionName
Gets the configuration section for the demo identity control.
public const string SectionName = "ReferenceApplication:DemoIdentity"
Field Value
SignInPath
Gets the path that creates a selected demo identity cookie.
public const string SignInPath = "/Account/DemoSignIn"
Field Value
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; }