pub struct AuthResponseSuccess {
pub delegations: Vec<SignedDelegation>,
pub user_public_key: Vec<u8>,
pub authn_method: String,
}
Expand description
Represents a successful authentication response.
This struct is used to store the details of a successful authentication response from the Internet Identity Service. It includes the delegations, the user’s public key, and the authentication method used.
Fields§
§delegations: Vec<SignedDelegation>
The delegations provided by the user during the authentication process.
user_public_key: Vec<u8>
The public key of the user.
authn_method: String
The authentication method used by the user.
Trait Implementations§
Source§impl Clone for AuthResponseSuccess
impl Clone for AuthResponseSuccess
Source§fn clone(&self) -> AuthResponseSuccess
fn clone(&self) -> AuthResponseSuccess
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 AuthResponseSuccess
impl RefUnwindSafe for AuthResponseSuccess
impl Send for AuthResponseSuccess
impl Sync for AuthResponseSuccess
impl Unpin for AuthResponseSuccess
impl UnwindSafe for AuthResponseSuccess
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