pub struct AuthConfig {
pub access_token_expiry: u64,
pub refresh_token_expiry: u64,
pub challenge_ttl: u64,
pub session_cleanup_interval: u64,
pub jwt_signing_key: Option<String>,
pub step_up: (),
}Fields§
§access_token_expiry: u64§refresh_token_expiry: u64§challenge_ttl: u64§session_cleanup_interval: u64§jwt_signing_key: Option<String>Base64url-no-pad encoded 32-byte Ed25519 private key for JWT signing.
step_up: ()Retired: the [auth.step_up] policy floors.
This field exists only to refuse a config that still carries the
section, rather than parse it and silently ignore it. An operator whose
config.toml says [auth.step_up] enabled = true believes their VTA is
gating operations. Dropping the field outright would leave them
believing it, with the file still saying so and nothing enforcing it —
the worst of the three outcomes. A VTA that will not start is at least
unambiguous, and the error names the command that replaces it.
Absent (the only accepted state) deserializes to () via default.
Trait Implementations§
Source§impl Clone for AuthConfig
impl Clone for AuthConfig
Source§fn clone(&self) -> AuthConfig
fn clone(&self) -> AuthConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthConfig
impl Debug for AuthConfig
Source§impl Default for AuthConfig
impl Default for AuthConfig
Source§impl<'de> Deserialize<'de> for AuthConfig
impl<'de> Deserialize<'de> for AuthConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthConfig
impl RefUnwindSafe for AuthConfig
impl Send for AuthConfig
impl Sync for AuthConfig
impl Unpin for AuthConfig
impl UnsafeUnpin for AuthConfig
impl UnwindSafe for AuthConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more