JwtTokenBuilder.SignWithSecretPassphrase method
Signs the JWT using a symmetric key derived from the provided passphrase.
public JwtTokenBuilder SignWithSecretPassphrase(SecureString passPhrase,
JwtAlgorithm alg = JwtAlgorithm.Auto)
| parameter | description |
|---|---|
| passPhrase | The passphrase to use as the symmetric key. |
| 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