JwtTokenBuilder.EncryptWithSecretB64 method
Encrypts the JWT using a symmetric key provided as a Base64Url-encoded string.
public JwtTokenBuilder EncryptWithSecretB64(string b64Url, string keyAlg = "dir",
string encAlg = "A256CBC-HS512")
| parameter | description |
|---|---|
| b64Url | The symmetric key as a Base64Url-encoded string. |
| keyAlg | The key encryption algorithm (default is “dir”). |
| encAlg | The content encryption algorithm (default is “A256CBC-HS512”). |
Return Value
The current JwtTokenBuilder instance.
See Also
- class JwtTokenBuilder
- namespace Kestrun.Jwt