KestrunContext.ChallengeAsync method

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

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

Return Value

Task representing the asynchronous operation.

See Also