jwt.algorithms

Undocumented in source.

Members

Aliases

URLSafeBase64
alias URLSafeBase64 = Base64Impl!('-', '_', Base64.NoPadding)

an alias for base64 encoding that is url safe and removes the '=' padding character

Enums

JWTAlgorithm
enum JWTAlgorithm

string literal used to represent signing algorithm type

Functions

sign
string sign(string secret, string data, JWTAlgorithm alg)

signs the given data with the secret using the given algorithm

Meta