AuthenticationSchemeOptions.ForwardDefault Property

Definition

If set, this specifies a default scheme that authentication handlers should forward all authentication operations to by default. The default forwarding logic will check the most specific ForwardAuthenticate/Challenge/Forbid/SignIn/SignOut setting first, followed by checking the ForwardDefaultSelector, followed by ForwardDefault. The first non null result will be used as the target scheme to forward to.

C#
public string ForwardDefault { get; set; }
C#
public string? ForwardDefault { get; set; }

Property Value

Applies to

Produkt Verzie
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0