Function sign_in

Source
pub async fn sign_in(
    session: &Session,
    email: &str,
    password: &str,
) -> Result<Session>
Expand description

Signs in with the given email and password and returns a user session.

Error codes: EMAIL_NOT_FOUND: There is no user record corresponding to this identifier. The user may have been deleted. INVALID_PASSWORD: The password is invalid or the user does not have a password. USER_DISABLED: The user account has been disabled by an administrator.