AuthenticationSchemeOptions.ForwardDefaultSelector AuthenticationSchemeOptions.ForwardDefaultSelector AuthenticationSchemeOptions.ForwardDefaultSelector Property

Definition

Used to select a default scheme for the current request 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.

public Func<Microsoft.AspNetCore.Http.HttpContext,string> ForwardDefaultSelector { get; set; }
member this.ForwardDefaultSelector : Func<Microsoft.AspNetCore.Http.HttpContext, string> with get, set
Public Property ForwardDefaultSelector As Func(Of HttpContext, String)

Property Value

Applies to