def fingerprint
import cswap-bend-cli@0.1.0.0/daemon/freshen.bend as Freshenimport Base
58# oauth.credential_fingerprint: the refresh token's hash, else the whole
59# credential's. "" for an empty credential.
60def fingerprint(+creds: String) -> IO(String):
61 fp_nonempty(String.is_empty(creds), creds)