pub struct BaseAuthApi;
Implementations§
Source§impl BaseAuthApi
impl BaseAuthApi
pub async fn create_user_action_challenge( request: CreateUserActionChallengeRequest, options: DfnsBaseApiOptions, ) -> Result<UserActionChallenge, DfnsError>
pub async fn sign_user_action_challenge( request: SignUserActionChallengeRequest, options: DfnsBaseApiOptions, ) -> Result<UserActionResponse, DfnsError>
pub async fn create_user_login_challenge( request: CreateUserLoginChallengeRequest, options: DfnsBaseApiOptions, ) -> Result<UserActionChallenge, DfnsError>
pub async fn create_user_login( request: SignUserActionChallengeRequest, options: DfnsBaseApiOptions, ) -> Result<UserLoginResponse, DfnsError>
pub async fn user_logout(options: DfnsBaseApiOptions) -> Result<(), DfnsError>
pub async fn create_user_registration_challenge( request: CreateUserRegistrationChallengeRequest, options: DfnsBaseApiOptions, ) -> Result<CreateRegistrationChallengeResponse, DfnsError>
pub async fn create_user_registration( request: CreateUserRegistrationRequest, options: DfnsBaseApiOptions, ) -> Result<UserRegistrationResponse, DfnsError>
pub async fn create_user_recovery( request: CreateUserRecoveryRequest, options: DfnsBaseApiOptions, ) -> Result<UserRegistrationResponse, DfnsError>
Trait Implementations§
Source§impl Clone for BaseAuthApi
impl Clone for BaseAuthApi
Source§fn clone(&self) -> BaseAuthApi
fn clone(&self) -> BaseAuthApi
Returns a copy 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 moreSource§impl Debug for BaseAuthApi
impl Debug for BaseAuthApi
Source§impl<'de> Deserialize<'de> for BaseAuthApi
impl<'de> Deserialize<'de> for BaseAuthApi
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BaseAuthApi
impl PartialEq for BaseAuthApi
Source§impl Serialize for BaseAuthApi
impl Serialize for BaseAuthApi
impl StructuralPartialEq for BaseAuthApi
Auto Trait Implementations§
impl Freeze for BaseAuthApi
impl RefUnwindSafe for BaseAuthApi
impl Send for BaseAuthApi
impl Sync for BaseAuthApi
impl Unpin for BaseAuthApi
impl UnwindSafe for BaseAuthApi
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