JwtAuthenticationOptions class
Provides options for JWT authentication, including claim policies and custom claim issuance.
public class JwtAuthenticationOptions : JwtBearerOptions, IClaimsCommonOptions
Public Members
| name | description |
|---|---|
| JwtAuthenticationOptions() | The default constructor. |
| ClaimPolicy { get; set; } | Gets or sets the claim policy. |
| ClaimPolicyConfig { get; set; } | Gets or sets the claim policy configuration. |
| IssueClaims { get; set; } | After credentials are valid, this is called to add extra Claims. Parameters: HttpContext, username → IEnumerable of extra claims. |
| IssueClaimsCodeSettings { get; set; } | Settings for the claims issuing code, if using a script. |
| ValidationParameters { get; set; } | Gets or sets the token validation parameters. |
See Also
- interface IClaimsCommonOptions
- namespace Kestrun.Authentication