pub struct AuthenticatedPrincipal {
pub agent_did: String,
pub authentication_kind: AuthenticationKind,
pub authentication_method: AuthenticationMethod,
pub credential_id: Option<String>,
pub grant_type: Option<GrantType>,
pub scopes: Vec<String>,
}Fields§
§agent_did: String§authentication_kind: AuthenticationKind§authentication_method: AuthenticationMethod§credential_id: Option<String>§grant_type: Option<GrantType>§scopes: Vec<String>Trait Implementations§
Source§impl Clone for AuthenticatedPrincipal
impl Clone for AuthenticatedPrincipal
Source§impl Debug for AuthenticatedPrincipal
impl Debug for AuthenticatedPrincipal
Source§impl PartialEq for AuthenticatedPrincipal
impl PartialEq for AuthenticatedPrincipal
impl StructuralPartialEq for AuthenticatedPrincipal
Auto Trait Implementations§
impl Freeze for AuthenticatedPrincipal
impl RefUnwindSafe for AuthenticatedPrincipal
impl Send for AuthenticatedPrincipal
impl Sync for AuthenticatedPrincipal
impl Unpin for AuthenticatedPrincipal
impl UnsafeUnpin for AuthenticatedPrincipal
impl UnwindSafe for AuthenticatedPrincipal
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