Files
NapCatQQ/.pnpm-store/v3/files/98/d774912cbb79d9ee76e847cbdce825a553a0ba52bec2becb60f054fd31a6686480854fffe34c303a306d08b836d9297d12767b70e9ed06e2006d14ac804569
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
729 B
Plaintext

import type { Base64URLString } from '../types/index.js';
/**
* Decode an authenticator's base64url-encoded clientDataJSON to JSON
*/
export declare function decodeClientDataJSON(data: Base64URLString): ClientDataJSON;
export type ClientDataJSON = {
type: string;
challenge: string;
origin: string;
crossOrigin?: boolean;
tokenBinding?: {
id?: string;
status: 'present' | 'supported' | 'not-supported';
};
};
/**
* Make it possible to stub the return value during testing
* @ignore Don't include this in docs output
*/
export declare const _decodeClientDataJSONInternals: {
stubThis: (value: ClientDataJSON) => ClientDataJSON;
};
//# sourceMappingURL=decodeClientDataJSON.d.ts.map