Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

328 B
Raw Blame
pub const REDIS_AUTH_CODE_PREFIX: &str = "OIDC_AUTH_CODE_";
pub const AUTH_CODE_TTL_IN_SECS: i64 = 60 * 5; // 5 minutes
pub const ID_TOKEN_TTL_IN_SECS: u64 = 60 * 15; // 15 minutes
pub const ACCESS_TOKEN_TTL_IN_SECS: u64 = 60 * 60; // 1 hour
pub const AUTH_CODE_LENGTH: usize = 32;
pub const TOKEN_TYPE_BEARER: &str = "Bearer";