pub struct ExchangedValidation<'a> {
pub key: &'a DecodingKey,
pub kid: &'a str,
pub issuer: &'a str,
pub allowed_audiences: &'a [String],
pub max_depth: usize,
pub now_s: u64,
pub token_type: &'a str,
pub for_revocation: bool,
}Expand description
Trust and time settings for a token issued by this harness.
Fields§
§key: &'a DecodingKeyHarness Ed25519 public key.
kid: &'a strExact expected signing-key identifier.
issuer: &'a strExact expected harness issuer.
allowed_audiences: &'a [String]Configured backend names accepted as single-string audiences.
max_depth: usizeConfigured maximum combined delegation depth.
now_s: u64Validation clock, in epoch seconds.
token_type: &'a strExact expected type: JWT or av-tool+jwt.
for_revocation: boolPermit bounded future activation for holder revocation only.
Auto Trait Implementations§
impl<'a> Freeze for ExchangedValidation<'a>
impl<'a> RefUnwindSafe for ExchangedValidation<'a>
impl<'a> Send for ExchangedValidation<'a>
impl<'a> Sync for ExchangedValidation<'a>
impl<'a> Unpin for ExchangedValidation<'a>
impl<'a> UnsafeUnpin for ExchangedValidation<'a>
impl<'a> UnwindSafe for ExchangedValidation<'a>
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