def fingerprint
import cswap-bend-cli@0.1.0.0/collect.bend as Collectimport Base
import cswap-bend-cli@0.1.0.0/usage/cred.bend as UCred
165# oauth.credential_fingerprint: the refresh token's hash, else the whole
166# credential's.
167def fingerprint(+creds: String) -> IO(String):
168 fp.pick(UCred.refresh_token(UCred.oauth.of(creds)), creds)