ApiKeyAuthHandler.BuildVBNetValidator method

Builds a VB.NET-based API key validator delegate using the provided authentication code settings.

public static Func<HttpContext, string, byte[], Task<bool>> BuildVBNetValidator(KestrunHost host, 
    AuthenticationCodeSettings settings)
parameter description
host The Kestrun host instance.
settings The settings containing the VB.NET authentication code.

Return Value

A delegate that validates an API key using VB.NET code.

See Also