pub struct ProviderEntry {
pub authenticator: Arc<dyn TokenAuthenticator>,
pub audience_binding: Option<AudienceBinding>,
}Expand description
A single named authentication provider: its token authenticator plus the
(reserved) audience binding. audience_binding is None in Phase 1 and is
populated in Task 1.6.
Invariant: JWT-backed providers MUST populate issuers in their binding. A
binding with audiences but empty issuers silently drops the validator’s
constructor-fixed issuer check on the kernel path (the request’s non-empty
audience set bypasses both constructor checks via REPLACEMENT semantics).
Fields§
§authenticator: Arc<dyn TokenAuthenticator>§audience_binding: Option<AudienceBinding>Auto Trait Implementations§
impl !RefUnwindSafe for ProviderEntry
impl !UnwindSafe for ProviderEntry
impl Freeze for ProviderEntry
impl Send for ProviderEntry
impl Sync for ProviderEntry
impl Unpin for ProviderEntry
impl UnsafeUnpin for ProviderEntry
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