mycelium-http-tools 8.3.1-beta.4

Provide HTTP related elements to the mycelium project.
Documentation
1
2
3
4
5
6
7
8
9
10
use myc_config::secret_resolver::SecretResolver;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct InternalOauthConfig {
    pub jwt_secret: SecretResolver<String>,
    pub jwt_expires_in: SecretResolver<i64>,
    pub tmp_expires_in: SecretResolver<i64>,
}