def classify

cswap-bend-cli@0.1.0.0 · swcreds.bend:166

import cswap-bend-cli@0.1.0.0/swcreds.bend as Swcreds
import Base
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

166# `_classify_outgoing_credential` without the profile oracle: byte equality,
167# refresh-token lineage, wiped tokens, another slot already holding this
168# lineage, else unresolved.
169def classify(+live: String, +backup: String, +others: List<&2, Other>) -> CKind:
170  classify2(SBase.nonempty(backup), String.eq(backup, live), same_lineage(backup, live), wiped(live), foreign_slot(live, others))

Uses (10)

Used by (1)