validate

Function validate 

Source
pub fn validate(exp: u64) -> bool
Expand description

Validates the expiration time of the token.

§Parameters

  • exp: The expiration time of the token.

§Returns

A boolean indicating whether the token is still valid.