Files
TK-FB-Project/api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/generateChallenge.d.ts

12 lines
426 B
TypeScript

/**
* Generate a suitably random value to be used as an attestation or assertion challenge
*/
export declare function generateChallenge(): Promise<Uint8Array>;
/**
* Make it possible to stub the return value during testing
* @ignore Don't include this in docs output
*/
export declare const _generateChallengeInternals: {
stubThis: (value: Uint8Array) => Uint8Array;
};
//# sourceMappingURL=generateChallenge.d.ts.map