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:
 property Func<Microsoft::AspNetCore::Http::HttpContext ^, System::String ^> ^ ForwardDefaultSelector { Func<Microsoft::AspNetCore::Http::HttpContext ^, System::String ^> ^ get(); void set(Func<Microsoft::AspNetCore::Http::HttpContext ^, System::String ^> ^ value); };
public Func<Microsoft.AspNetCore.Http.HttpContext,string> ForwardDefaultSelector { get; set; }
public Func<Microsoft.AspNetCore.Http.HttpContext,string>? ForwardDefaultSelector { get; set; }
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