pub struct AuthInput<'a> {
pub authorization_header: Option<&'a str>,
pub sasl_plain_blob: Option<&'a [u8]>,
pub mtls_subject: Option<AuthSubject>,
}Expand description
Was der Caller (Daemon) für validate mitbringt.
Fields§
Bearer/JWT: Inhalt des Authorization-Headers (komplett).
sasl_plain_blob: Option<&'a [u8]>SASL-PLAIN: Raw-Frame-Bytes (user\0user\0pass).
mtls_subject: Option<AuthSubject>mTLS: vom rustls-Connection bereits validiertes Subject (z.B.
Cert-CN). Wenn mTLS aber kein Cert präsentiert wurde: None.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AuthInput<'a>
impl<'a> RefUnwindSafe for AuthInput<'a>
impl<'a> Send for AuthInput<'a>
impl<'a> Sync for AuthInput<'a>
impl<'a> Unpin for AuthInput<'a>
impl<'a> UnsafeUnpin for AuthInput<'a>
impl<'a> UnwindSafe for AuthInput<'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