Skip to main content

login

Function login 

Source
pub async fn login(
    client: &mut Client,
    login: &str,
    key: &str,
    login_type: LoginType,
) -> Result<LoginResponse, Error>
Expand description

Logs in with the given credentials and returns a session token.