IAuthHandler.BuildCsIssueClaims method

Builds a C#-based function for issuing claims for a user.

public static Func<HttpContext, string, Task<IEnumerable<Claim>>> BuildCsIssueClaims(
    KestrunHost host, AuthenticationCodeSettings settings)
parameter description
host The Kestrun host instance.
settings The authentication code settings containing the C# script.

Return Value

A function that issues claims using the provided C# script.

See Also