KestrunHostAuthExtensions.HasAuthScheme method

Checks if the specified authentication scheme is registered in the Kestrun host.

public static bool HasAuthScheme(this KestrunHost host, string schemeName)
parameter description
host The Kestrun host instance.
schemeName The name of the authentication scheme to check.

Return Value

True if the scheme is registered; otherwise, false.

See Also