@simplewebauthn/server
Version:
SimpleWebAuthn for Servers
13 lines • 443 B
TypeScript
import type { Uint8Array_ } from '../types/index.js';
/**
* Generate a suitably random value to be used as user ID
*/
export declare function generateUserID(): Promise<Uint8Array_>;
/**
* Make it possible to stub the return value during testing
* @ignore Don't include this in docs output
*/
export declare const _generateUserIDInternals: {
stubThis: (value: Uint8Array_) => Uint8Array;
};
//# sourceMappingURL=generateUserID.d.ts.map