pub struct AuthnRequest<'a> {
pub token: &'a str,
pub audiences: &'a [String],
pub accepted_issuers: &'a [String],
pub transport: TransportId,
}Expand description
Per-request authentication context: the token plus the route/provider audience and issuer constraints to enforce.
audiences and accepted_issuers are the request-scoped sets. When either
is non-empty the authenticator enforces it (REPLACEMENT semantics, bypassing
constructor-fixed checks); when both are empty the authenticator falls back
to its constructor-fixed behavior.
Fields§
§token: &'a str§audiences: &'a [String]§accepted_issuers: &'a [String]§transport: TransportIdAuto Trait Implementations§
impl<'a> Freeze for AuthnRequest<'a>
impl<'a> RefUnwindSafe for AuthnRequest<'a>
impl<'a> Send for AuthnRequest<'a>
impl<'a> Sync for AuthnRequest<'a>
impl<'a> Unpin for AuthnRequest<'a>
impl<'a> UnsafeUnpin for AuthnRequest<'a>
impl<'a> UnwindSafe for AuthnRequest<'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