IAuthHandler.BuildPsIssueClaims method
Builds a PowerShell-based function for issuing claims for a user.
public static Func<HttpContext, string, Task<IEnumerable<Claim>>> BuildPsIssueClaims(
KestrunHost host, AuthenticationCodeSettings settings)
| parameter | description |
|---|---|
| host | The Kestrun host instance. |
| settings | The authentication code settings containing the PowerShell script. |
Return Value
A function that issues claims using the provided PowerShell script.
See Also
- class KestrunHost
- record AuthenticationCodeSettings
- interface IAuthHandler
- namespace Kestrun.Authentication