UNPKG

react-native-nitro-totp

Version:

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

8 lines (6 loc) 266 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; }