@simplewebauthn/server
Version:
SimpleWebAuthn for Servers
13 lines • 482 B
TypeScript
import type { Uint8Array_ } from '../types/index.js';
/**
* 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