IAuthHandler.IssueClaimsPowerShellAsync method
Issues claims for a user by executing a PowerShell script.
public static Task<IEnumerable<Claim>> IssueClaimsPowerShellAsync(string? code, HttpContext ctx,
string identity, ILogger logger)
parameter | description |
---|---|
code | The PowerShell script code used to issue claims. |
ctx | 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
- interface IAuthHandler
- namespace Kestrun.Authentication