pub struct V2LocalAuthorizationOptions {
pub future_skew_seconds: i64,
pub required_scope: String,
pub trusted_root_id: String,
pub trusted_root_key: HybridPublicKey,
pub trust_configured: bool,
pub context: ConstraintContextV2,
pub tzdb_version: String,
pub context_policy: Option<V2ContextPolicy>,
pub expected_challenge: Option<ExpectedChallengeV2>,
pub claim_token: Option<V2EvaluationToken>,
}Expand description
Verifier-owned inputs for the deterministic authorization checks that
follow a successful challenge claim. There is no caller-supplied
evaluation time: every time-sensitive check uses the claim store’s
authoritative claim time sealed in claim_token. future_skew_seconds
must equal the value sealed at claim.
Fields§
§future_skew_seconds: i64§required_scope: String§trusted_root_id: String§trusted_root_key: HybridPublicKey§trust_configured: bool§context: ConstraintContextV2§tzdb_version: StringThe caller-configured IANA tzdata release required for time_window;
it must equal TZDB_VERSION_V2.
context_policy: Option<V2ContextPolicy>§expected_challenge: Option<ExpectedChallengeV2>§claim_token: Option<V2EvaluationToken>Trait Implementations§
Source§impl Clone for V2LocalAuthorizationOptions
impl Clone for V2LocalAuthorizationOptions
Source§impl Debug for V2LocalAuthorizationOptions
impl Debug for V2LocalAuthorizationOptions
Auto Trait Implementations§
impl !RefUnwindSafe for V2LocalAuthorizationOptions
impl !UnwindSafe for V2LocalAuthorizationOptions
impl Forget for V2LocalAuthorizationOptions
impl Freeze for V2LocalAuthorizationOptions
impl Send for V2LocalAuthorizationOptions
impl Sync for V2LocalAuthorizationOptions
impl Unpin for V2LocalAuthorizationOptions
impl UnsafeUnpin for V2LocalAuthorizationOptions
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