AuthenticationHandler<TOptions>.ResolveTarget(String) Method

Definition

Resolves the scheme that this authentication operation is forwarded to.

C#
protected virtual string ResolveTarget (string scheme);
C#
protected virtual string? ResolveTarget (string? scheme);

Parameters

scheme
String

The scheme to forward. One of ForwardAuthenticate, ForwardChallenge, ForwardForbid, ForwardSignIn, or ForwardSignOut.

Returns

The forwarded scheme or null.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0