pub const PROGRAMMATIC_ACCESS_TOKEN: &str = "PROGRAMMATIC_ACCESS_TOKEN";
pub const KEYPAIR_JWT: &str = "KEYPAIR_JWT";
pub const JWT_LIFETIME_SECS: u64 = 3540;
pub const JWT_REFRESH_MARGIN_SECS: u64 = 300;
pub const OAUTH: &str = "OAUTH";
pub const LOCAL_APPLICATION: &str = "LOCAL_APPLICATION";
pub const OAUTH_REFRESH_MARGIN_SECS: u64 = 60;
pub const DEFAULT_ACCESS_LIFETIME_SECS: u64 = 600;
pub const TOKEN_CACHE_FILE: &str = "sqlload/snowflake-tokens.json";
pub const SIGN_IN_FAILED_PAGE: &str = "<!doctype html><title>SQLLoad</title><p>The Snowflake sign-in failed. Return to the terminal for the reason.</p>";
pub const LOOPBACK_HOST: &str = "127.0.0.1";
pub const LOOPBACK_SCHEME: &str = "http";
pub const SIGN_IN_TIMEOUT_SECS: u64 = 300;
pub const REDIRECT_READ_TIMEOUT_SECS: u64 = 10;
pub const BROWSER_CHECKS: u32 = 20;
pub const BROWSER_CHECK_MILLIS: u64 = 100;
pub const NOT_THIS_SIGN_IN_PAGE: &str = "<!doctype html><title>SQLLoad</title><p>This is not the Snowflake sign-in SQLLoad is waiting for.</p>";
pub const REDIRECT_REQUEST_LIMIT: usize = 16 * 1024;
pub const SIGNED_IN_PAGE: &str = "<!doctype html><title>SQLLoad</title><p>Signed in to Snowflake. You can close this tab and return to the terminal.</p>";