IAuthHandler.BuildPsIssueClaims method

Builds a PowerShell-based function for issuing claims for a user.

public static Func<HttpContext, string, Task<IEnumerable<Claim>>> BuildPsIssueClaims(
    AuthenticationCodeSettings settings, ILogger logger)
parameter description
settings The authentication code settings containing the PowerShell script.
logger The logger instance for logging.

Return Value

A function that issues claims using the provided PowerShell script.

See Also