JwtAlgorithmExtensions.ToJwtString method
Converts the specified JwtAlgorithm
to its corresponding JWT algorithm string.
public static string ToJwtString(this JwtAlgorithm alg, int keyByteLength = 0)
parameter | description |
---|---|
alg | The JWT algorithm to convert. |
keyByteLength | The key length in bytes, used only when Auto is specified. |
Return Value
The JWT algorithm string representation.
See Also
- enum JwtAlgorithm
- class JwtAlgorithmExtensions
- namespace Kestrun.Jwt