fastjwt.jwt

Undocumented in source.

Members

Enums

JWTAlgorithm
enum JWTAlgorithm
Undocumented in source.

Functions

decodeJWTToken
int decodeJWTToken(string encodedToken, string secret, JWTAlgorithm algo, StringBuffer header, StringBuffer payload)

This function decodes a JWTToken.

encodeJWTToken
void encodeJWTToken(Out output, JWTAlgorithm algo, string secret, Args args)

Encode values into a JWTToken string that gets stored into the output parameter.

encodeJWTToken
void encodeJWTToken(Out output, JWTAlgorithm algo, string secret, const(Json) args)
hash
void hash(StringBuffer buf, string data, string secret, JWTAlgorithm alg)
Undocumented in source. Be warned that the author may not have intended to support it.
headerBase64
void headerBase64(JWTAlgorithm alg, Out output)
Undocumented in source. Be warned that the author may not have intended to support it.
payloadToBase64
void payloadToBase64(Out output, const(Json) payload)
Undocumented in source. Be warned that the author may not have intended to support it.
payloadToBase64
void payloadToBase64(Out output, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

base64HeaderStrings
auto base64HeaderStrings;
Undocumented in source.

Meta