JwtTokenBuilder.SignWithRsaPem method
Signs the JWT using an RSA private key provided in PEM format.
public JwtTokenBuilder SignWithRsaPem(string pemPath, JwtAlgorithm alg = JwtAlgorithm.Auto)
| parameter | description |
|---|---|
| pemPath | The file path to the RSA private key in PEM format. |
| alg | The JWT algorithm to use for signing (default is Auto). |
Return Value
The current JwtTokenBuilder instance.
See Also
- enum JwtAlgorithm
- class JwtTokenBuilder
- namespace Kestrun.Jwt