JwtTokenBuilder.SignWithSecretHex method
Signs the JWT using a symmetric key provided as a hexadecimal string.
public JwtTokenBuilder SignWithSecretHex(string hex, JwtAlgorithm alg = JwtAlgorithm.Auto)
| parameter | description |
|---|---|
| hex | The symmetric key as a hexadecimal string. |
| 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