cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
store/io.bend
- def read_config
- def mv_keep2
- def mv_keep
- def archive_dirsMove the slot's .enc (and .prev, legacy copy, config) under .removed/ with a UTC time stamp.
- def archive_mv
- def archive_slot
- def slot_email2
- def slot_email
- def drop_slotArchive a slot's files and forget its record; sequence.json is rewritten.
- def drop_opt
- def drop_pairArchive what a displaced and a migrated slot held, in that order.
store/ops.bend
- def ActM`do ActM<A>:` needs the monad defined in the file that uses it.
- def ActM.pure
- def ActM.bind
- type EffThe email and slot add-token ends up with.
- def eff_slot
- def eff_noemail
- def effective
- def email_ok
- def is_none
- def clash3
- def clash2
- def clash(email, personal) already stored as the other kind.
- def clash_msg
- def refresh_slot
- def moved_line
- def unverified_reason
- def token_files
- def token_logs
- def token_seq
- def token_place2
- def token_place
- def token_refresh
- def token_branch2
- def token_branch
- def token_checked2
- def token_checked
- def add_token4
- def add_token3
- def add_token2
- def add_tokenRegister a raw setup-token or `sk-ant-` API key (no HTTP call).
- def is_some_str
- def valid_ident
- def scalar_text
- def field_jsonA JSON scalar as text: numbers as written, strings as is, "" otherwise.
- def active_is
- def active_warning
- def removal3
- def removal2
- def removal
- def remove_resolved
- def remove3
- def remove4
- def remove2
- def removeTake an account out of rotation by slot number, alias or email.
- def read_resolved
- def read_slot2
- def read_slotA slot's stored credential text by slot number, alias or email; "" when the slot has none.
- def write_slot2
- def write_slotReplace the credential of an existing slot (keeping the old one as .prev).
store/plan.bend
- type ProfWhat the oracle answered: nothing usable, or an account uuid with an optional address and organization.
- def opt_str
- def org_uuid_of
- def prof3b
- def prof3
- def prof2
- def profile_ofoauth.fetch_oauth_profile's reading of the response body.
- def profile_of_res
- def profile_of_text
- type PlanShould the stored credential's owner be looked up, and with which token?
- def expires_sThe access token's expiry in whole seconds (`expiresAt` is epoch ms).
- def token_of
- def expiry_text
- def expiry_of
- def plan5
- def plan4
- def plan3b
- def plan3
- def plan_res
- def plan_for
- type Verdict
- def bad_uuid
- def bad_email
- def bad_org
- def org_verdict2
- def org_verdict
- def then_orgOnly a clean identity match goes on to the organization check.
- def sel.v
- def ident_by_email2
- def ident_by_email
- def ident_verdict2
- def ident_verdict
- def judgeDoes the credential's owner match (email, org, accountUuid)?
- type SlotPlanWhere a new identity goes: its slot, the slot of another account to displace (archived, never deleted) and the old slot of the same account when it moves.
- def sel.m
- def differs
- def occupied2
- def occupied
- def with_migrate
- def plan_slot2