pub async fn get_ms_auth_token(
client: &Client,
res: DeviceCodeResponse,
client_id: Option<&str>,
) -> Result<ExpiringValue<AccessTokenResponse>, GetMicrosoftAuthTokenError>
Expand description
Wait until the user logged into Microsoft with the given code. You get the
device code response needed for this function from get_ms_link_code
.
You should pass the response from this to get_minecraft_token
.