UNPKG

react-native-nitro-totp

Version:

React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.

9 lines (8 loc) 275 B
import type { HybridObject } from 'react-native-nitro-modules'; import type { GenerateSecretKeyOptions } from '../types'; export interface NitroSecret extends HybridObject<{ ios: 'c++'; android: 'c++'; }> { generate(options?: GenerateSecretKeyOptions): string; }