BasicAuthenticationOptions.ValidateCredentialsAsync property

Delegate to validate user credentials. Parameters: HttpContext, username, password. Returns: Task<bool> indicating validity.

public Func<HttpContext, string, string, Task<bool>> ValidateCredentialsAsync { get; set; }

See Also