AuthApiMut

Trait AuthApiMut 

Source
pub trait AuthApiMut {
    type Error;

    // Required method
    fn authenticate_user(
        &mut self,
        body: Option<AuthRequest>,
    ) -> Result<AuthResponse, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn authenticate_user( &mut self, body: Option<AuthRequest>, ) -> Result<AuthResponse, Self::Error>

User authentication

Implementors§

Source§

impl<T, E> AuthApiMut for T
where T: AuthApi<Error = E>,

Source§

type Error = E