KestrunContext.Challenge method (1 of 3)

Synchronous wrapper for HttpContext.ChallengeAsync.

public void Challenge(string? scheme, AuthenticationProperties? properties)
parameter description
scheme The authentication scheme to challenge.
properties The authentication properties to include in the challenge.

See Also


KestrunContext.Challenge method (2 of 3)

Synchronous wrapper for HttpContext.ChallengeAsync using a Dictionary for properties.

public void Challenge(string? scheme, Dictionary<string, string?>? properties)
parameter description
scheme The authentication scheme to challenge.
properties The authentication properties to include in the challenge.

See Also


KestrunContext.Challenge method (3 of 3)

Synchronous wrapper for HttpContext.ChallengeAsync using a Hashtable for properties.

public void Challenge(string? scheme, Hashtable? properties)
parameter description
scheme The authentication scheme to challenge.
properties The authentication properties to include in the challenge.

See Also