Click or drag to resize

AuthenticateControllerAttributeChallengeAsync Method

Challenges the request.

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.101-beta
Syntax
public Task ChallengeAsync(
	HttpAuthenticationChallengeContext context,
	CancellationToken cancellationToken
)
Request Example View Source

Parameters

context
Type: HttpAuthenticationChallengeContext
The challenge context.
cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A Task that will perform challenge.

Implements

IAuthenticationFilter.ChallengeAsync(HttpAuthenticationChallengeContext, CancellationToken)
See Also