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
I don't think we can just inherit this from Token2.0 because removing a token from the cache is different for Gargle2.0 tokens. This is also not going to come up very often, i.e. is not urgent, but is worth doing.
relevant excerpt from httr::Token2.0:
refresh=function() {
cred<- refresh_oauth2.0(self$endpoint, self$app,
self$credentials, self$params$user_params, self$params$use_basic_auth)
if (is.null(cred)) {
remove_cached_token(self) # <-- this won't actually un-cache a Gargle2.0 token
} else {
self$credentials<-credself$cache()
}
self
},
The text was updated successfully, but these errors were encountered:
I don't think we can just inherit this from Token2.0 because removing a token from the cache is different for Gargle2.0 tokens. This is also not going to come up very often, i.e. is not urgent, but is worth doing.
relevant excerpt from
httr::Token2.0
:The text was updated successfully, but these errors were encountered: