@lit-protocol/auth-helpers
Version:
Advanced authentication utilities for managing blockchain resource permissions and capabilities within the Lit Protocol ecosystem. Built on top of SIWE (Sign-In with Ethereum) and SIWE-RECAP for robust authentication flows.
10 lines (9 loc) • 401 B
TypeScript
import { LIT_ABILITY_VALUES, LIT_RECAP_ABILITY_VALUES, LIT_NAMESPACE_VALUES } from '@lit-protocol/constants';
/**
* Map from a LitAbility to the Recap namespace and ability.
* @throws Error if the LitAbility is unknown
*/
export declare function getRecapNamespaceAndAbility(litAbility: LIT_ABILITY_VALUES): {
recapNamespace: LIT_NAMESPACE_VALUES;
recapAbility: LIT_RECAP_ABILITY_VALUES;
};