cswap-bend-cli
Search uses release 0.1.0.0 · 4,210 definitions
Definitions (4,210)
- type Outcomeusage: the normalised result (JNull when there is none); error: the kind (http-429, http-403, timeout, network, bad-response, no-access-token, invalid_grant, no_refresh_token, invalid_client, refresh-failed, ...); retry: Retry-After seconds; struck: the credential text whose refresh token the server rejected for good (the store quarantines on it).
- type Fetchedcredential: the rotated credential when a refresh succeeded, for the store to persist.
- def done
- def out.ok
- def out.err
- def out.kind
- def dead
- def final.pick
- def deterministicRefusals that will not resolve by retrying this pass: the caller must not fall through to the usage endpoint with the known-expired token.
- def retry.k
- def struck.pick
- def retry.struck
- def retry.tok
- def retry.fail
- def retry.got
- def retry.pickAfter a 401 and a refresh: failures keep their identity only when the reference does (dead lineage, rejected client, consume-busy), else `refresh-failed`.
- def fail.refresh
- def is_401
- def fetch.after401 on an inactive account with a refresh token: refresh once, retry once.
- def fetch.req
- def pre.stop
- def pre.fail
- def pre.newBefore the request: an expired token of an inactive account is refreshed.
- def pre.got
- def fetch.pre
- def gate.pick
- def fetch.gate
- def fetch.start
- def offset.ofThe local UTC offset, biased by 86400 (86400 = UTC when `date` is unusable).
- def offset.run
- def offset.pick
- def local_offset
- def fetch_withfetch_usage plus the 401 refresh of try_fetch_usage_for_account, over the credential JSON text.
- def fetch_usage
- def fetch_usage_gatedThe same, refreshing through the consume gate on <root>/credentials.