pub struct VerifyConfig { /* private fields */ }Implementations§
Source§impl VerifyConfig
impl VerifyConfig
Sourcepub fn access_token(
issuer: impl Into<String>,
audience: impl Into<String>,
) -> Self
pub fn access_token( issuer: impl Into<String>, audience: impl Into<String>, ) -> Self
Canonical access-token config: at+jwt typ, EdDSA-only algorithm
whitelist, 8 KB token size cap (M34). All revocation port slots
default to None; callers opt in via the builders.
Sourcepub fn with_algorithms(self, algorithms: Vec<Algorithm>) -> Self
pub fn with_algorithms(self, algorithms: Vec<Algorithm>) -> Self
Override the algorithm whitelist. Test-only escape hatch — production
callers MUST go through access_token so the EdDSA pin is the default.
Sourcepub fn with_replay_defense(self, port: Arc<dyn ReplayDefense>) -> Self
pub fn with_replay_defense(self, port: Arc<dyn ReplayDefense>) -> Self
Wire the M35 jti replay defense port.
Sourcepub fn with_session_revocation(self, port: Arc<dyn SessionRevocation>) -> Self
pub fn with_session_revocation(self, port: Arc<dyn SessionRevocation>) -> Self
Wire the M36 session-row liveness port.
Sourcepub fn with_epoch_revocation(self, port: Arc<dyn EpochRevocation>) -> Self
pub fn with_epoch_revocation(self, port: Arc<dyn EpochRevocation>) -> Self
Wire the sv-port per-account epoch revocation.
Trait Implementations§
Source§impl Clone for VerifyConfig
impl Clone for VerifyConfig
Source§fn clone(&self) -> VerifyConfig
fn clone(&self) -> VerifyConfig
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 moreAuto Trait Implementations§
impl Freeze for VerifyConfig
impl !RefUnwindSafe for VerifyConfig
impl Send for VerifyConfig
impl Sync for VerifyConfig
impl Unpin for VerifyConfig
impl UnsafeUnpin for VerifyConfig
impl !UnwindSafe for VerifyConfig
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