Click or drag to resize

AuthenticateControllerAttributeAuthenticateAsync Method

Authenticates the request.

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

Parameters

context
Type: HttpAuthenticationContext
The authentication context.
cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A Task that will perform authentication.

Implements

IAuthenticationFilter.AuthenticateAsync(HttpAuthenticationContext, CancellationToken)
See Also