Openmaize v0.11.0 Openmaize.Token.Tools

Various tools that are used with the management of JSON Web Tokens.

Summary

Functions

The current value for kid in the JWT header

The current time in milliseconds

The secret key to be used to check the signature

The hash to be used when checking the signature

Functions

current_kid()

The current value for kid in the JWT header.

current_time()

The current time in milliseconds.

get_key(kid)

The secret key to be used to check the signature.

get_mac(data, alg, kid)

The hash to be used when checking the signature.