antimatter.utils.token#

Module Contents#

Functions#

decode_token(t)

Decode a domain identity token and return the NotValidBefore and NotValidAfter timestamps.

is_token_valid(not_before, not_after)

Check if the token is valid based on the NotValidBefore and NotValidAfter timestamps.

antimatter.utils.token.decode_token(t)#

Decode a domain identity token and return the NotValidBefore and NotValidAfter timestamps.

antimatter.utils.token.is_token_valid(not_before, not_after)#

Check if the token is valid based on the NotValidBefore and NotValidAfter timestamps.