Add expires_in for token response

This commit is contained in:
Simon Bihel
2022-01-19 12:50:40 +00:00
parent d3d3f0163c
commit 0a8e7332fc
2 changed files with 9 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ mod cf;
pub use cf::CFClient;
const KV_CLIENT_PREFIX: &str = "clients";
const ENTRY_LIFETIME: usize = 30;
pub const ENTRY_LIFETIME: usize = 30;
#[derive(Clone, Serialize, Deserialize)]
pub struct CodeEntry {