IAuthHandler.IssueClaimsPowerShellAsync method

Issues claims for a user by executing a PowerShell script.

public static Task<IEnumerable<Claim>> IssueClaimsPowerShellAsync(string? code, 
    HttpContext context, string identity, ILogger logger)
parameter description
code The PowerShell script code used to issue claims.
context The HTTP context containing the PowerShell runspace.
identity The username for which to issue claims.
logger The logger instance for logging.

Return Value

A task representing the asynchronous operation, with a collection of issued claims.

See Also