UNPKG

@akanass/rx-otp

Version:

HMAC-based (HOTP) and Time-based (TOTP) One-Time Password manager. Works with Google Authenticator for Two-Factor Authentication.

137 lines (136 loc) 2.79 kB
export declare const U2F_URI_SCHEMA: { $schema: string; $id: string; title: string; type: string; properties: { secret: { $ref: string; }; account_name: { $ref: string; }; issuer: { $ref: string; }; code_digits: { $ref: string; default: number; }; time: { $ref: string; default: number; }; algorithm: { $ref: string; default: string; }; }; required: string[]; additionalProperties: boolean; }; export declare const U2F_GENERATE_SCHEMA: { $schema: string; $id: string; title: string; type: string; properties: { key: { $ref: string; }; time: { $ref: string; default: number; }; timestamp: { $ref: string; }; code_digits: { $ref: string; default: number; }; add_checksum: { $ref: string; default: boolean; }; truncation_offset: { $ref: string; default: number; }; algorithm: { $ref: string; default: string; }; }; dynamicDefaults: { timestamp: string; }; required: string[]; additionalProperties: boolean; }; export declare const U2F_VERIFY_SCHEMA: { $schema: string; $id: string; title: string; type: string; properties: { token: { $ref: string; }; key: { $ref: string; }; window: { $ref: string; default: number; }; time: { $ref: string; default: number; }; timestamp: { $ref: string; }; add_checksum: { $ref: string; default: boolean; }; truncation_offset: { $ref: string; default: number; }; algorithm: { $ref: string; default: string; }; }; dynamicDefaults: { timestamp: string; }; required: string[]; additionalProperties: boolean; }; export declare const U2F_QR_SCHEMA: { $schema: string; $id: string; title: string; type: string; properties: { text: { $ref: string; }; ec_level: { $ref: string; default: string; }; type: { $ref: string; default: string; }; size: { $ref: string; }; }; required: string[]; additionalProperties: boolean; };