dynamic_token/
lib.rs

1mod constants;
2mod utils;
3mod from_key;
4mod to_key;
5mod auth_status;
6mod valid_auth_token;
7mod auth_options;
8
9/// This crate encodes s time-sensitive authentication token from a shared API Key injected in an base-36 timestamp, a set of random split characters and an optional UUID.
10/// It also decodes the generated token and applies shared rules to validate the decoded API key, timestamp tolerance, split characters and, 
11/// if required, check for a well-formed UUID string for a second authorisation step.
12
13pub use constants::*;
14pub use from_key::*;
15pub use to_key::*;
16pub use auth_status::*;
17pub use valid_auth_token::*;
18pub use auth_options::*;
19pub use utils::{encode_base64,decode_base64};