antimatter.utils.token
#
Module Contents#
Functions#
|
Decode a domain identity token and return the NotValidBefore and NotValidAfter timestamps. |
|
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.