pub struct CallerIdentity {
pub sans: Vec<String>,
pub subject: Option<String>,
pub bearer_ref: Option<String>,
pub aauth_agent: Option<String>,
pub loopback: bool,
pub management: bool,
}Expand description
What the transport learned about the caller.
Fields§
§sans: Vec<String>The verified client-cert subject/SANs (mTLS).
subject: Option<String>§bearer_ref: Option<String>A verified bearer subject (post token check), if the transport resolved it.
aauth_agent: Option<String>The verified AAuth agent id (roadmap).
loopback: boolWhether the connection is loopback (dev operator default).
management: boolWhether the framework already authenticated the peer as management (a verified client cert / matched bearer).
Trait Implementations§
Source§impl Clone for CallerIdentity
impl Clone for CallerIdentity
Source§fn clone(&self) -> CallerIdentity
fn clone(&self) -> CallerIdentity
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 moreSource§impl Debug for CallerIdentity
impl Debug for CallerIdentity
Source§impl Default for CallerIdentity
impl Default for CallerIdentity
Source§fn default() -> CallerIdentity
fn default() -> CallerIdentity
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CallerIdentity
impl RefUnwindSafe for CallerIdentity
impl Send for CallerIdentity
impl Sync for CallerIdentity
impl Unpin for CallerIdentity
impl UnsafeUnpin for CallerIdentity
impl UnwindSafe for CallerIdentity
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