azalea_auth

Function interactive_get_ms_auth_token

Source
pub async fn interactive_get_ms_auth_token(
    client: &Client,
    email: &str,
    client_id: Option<&str>,
    scope: Option<&str>,
) -> Result<ExpiringValue<AccessTokenResponse>, GetMicrosoftAuthTokenError>
Expand description

Asks the user to go to a webpage and log in with Microsoft. If you need to access the code, then use get_ms_link_code and then get_ms_auth_token instead.