You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match refresh_token
.refresh_token(client,&client_id, client_secret.as_ref()).await{Ok((a, _, r)) => UserToken::from_existing(client, a, r, client_secret).await?,Err(e) => {panic!()}}
perhaps a way to do UserToken::from_existing_or_refresh, or we could do that implicitly (I dislike that idea though)
The text was updated successfully, but these errors were encountered:
Emilgardis
changed the title
Add an easy way to retrieve a token given only a refresh token and client id
Add an easy way to retrieve a token given only the refresh token is valid
Feb 16, 2025
should be easier than
perhaps a way to do
UserToken::from_existing_or_refresh
, or we could do that implicitly (I dislike that idea though)The text was updated successfully, but these errors were encountered: