SharedAuthenticationOptions Class

Namespace
Microsoft.AspNetCore.Authentication
Assemblies
  • Microsoft.AspNetCore.Authentication

Syntax

public class SharedAuthenticationOptions
class Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions

Properties

Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions.SignInScheme

Gets or sets the authentication scheme corresponding to the default middleware responsible of persisting user’s identity after a successful authentication. This value typically corresponds to a cookie middleware registered in the Startup class.

Return type:System.String
public string SignInScheme { get; set; }