JwtTokenBuilder.SignWithJwkJson method
Signs the JWT using a JWK JSON string (RSA / EC / oct).
public JwtTokenBuilder SignWithJwkJson(string jwkJson, JwtAlgorithm alg = JwtAlgorithm.Auto)
| parameter | description |
|---|---|
| jwkJson | The JWK JSON string. |
| alg | The algorithm to use. If Auto, a default is chosen based on JWK key type (RS256 for RSA, ES256 for EC, HS256 for symmetric). |
See Also
- enum JwtAlgorithm
- class JwtTokenBuilder
- namespace Kestrun.Jwt