crossmintRecoverySignerLocators function

List<String> crossmintRecoverySignerLocators(
  1. CrossmintWallet wallet
)

Locators for every recovery method on the wallet, in backend order.

A method is parsed and read through the same derivation as a caller-supplied config, so the two can never disagree about the locator they mean. A passkey identified only by id and an api-key method with no locator both derive one here, which membership tests depend on.

Implementation

List<String> crossmintRecoverySignerLocators(CrossmintWallet wallet) {
  return _locatorsOf(crossmintRecoveryMethodMaps(wallet));
}