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