/** * API token generation and hashing utilities. * * Re-exports from @premium-cms/auth which owns the implementations. * Uses Oslo.js (@oslojs/crypto, @oslojs/encoding) for all crypto. * * Token format: `ec_pat_` (Personal Access Tokens) * `ec_oat_` (OAuth Access Tokens) * `ec_ort_` (OAuth Refresh Tokens) * * Prefix makes tokens identifiable in logs and secret scanners. * Only the SHA-256 hash is stored server-side. */ export { TOKEN_PREFIXES, generatePrefixedToken, hashPrefixedToken, hashPrefixedToken as hashApiToken, computeS256Challenge, } from "@premium-cms/auth";