Method OnValidating
OnValidating(BasicAuthenticationCredentials, HttpContext)
Indicates the method that is called to validate a request with client credentials. When returning an HttpResponse, it will be sent immediately to the client and the rest of the stack will not be executed. If the return is null, it is interpretable that the authentication was successful and the execution should continue.
public virtual HttpResponse? OnValidating(BasicAuthenticationCredentials credentials, HttpContext context)
Parameters
credentialsBasicAuthenticationCredentialsRepresents the credentials sent by the client, already decoded and ready for use.
contextHttpContextRepresents the Http context.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語