pub struct MutualTlsClientConfig {
pub client_id: String,
pub auth_method: MutualTlsMethod,
pub ca_certificates: Vec<Vec<u8>>,
pub client_certificate: Option<Vec<u8>>,
pub expected_subject_dn: Option<String>,
pub certificate_bound_access_tokens: bool,
}
Expand description
Mutual TLS client configuration
Fields§
§client_id: String
Client identifier
auth_method: MutualTlsMethod
Authentication method
ca_certificates: Vec<Vec<u8>>
For PKI method: allowed certificate chain
client_certificate: Option<Vec<u8>>
For self-signed method: registered certificate
expected_subject_dn: Option<String>
Subject DN pattern for validation
certificate_bound_access_tokens: bool
Whether to bind access tokens to certificates
Trait Implementations§
Source§impl Clone for MutualTlsClientConfig
impl Clone for MutualTlsClientConfig
Source§fn clone(&self) -> MutualTlsClientConfig
fn clone(&self) -> MutualTlsClientConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MutualTlsClientConfig
impl RefUnwindSafe for MutualTlsClientConfig
impl Send for MutualTlsClientConfig
impl Sync for MutualTlsClientConfig
impl Unpin for MutualTlsClientConfig
impl UnwindSafe for MutualTlsClientConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more