def refresh_acct
import cswap-bend-cli@0.1.0.0/usage/cred.bend as Credimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
269# `refresh` with the account identity the token endpoint optionally names.
270def refresh_acct(+cred: String) -> IO(Result<&2, &2, String, Granted>):
271 refresh.parsed(Json.parse(cred), oauth.of(cred))