Skip to content

Documentation / @tenancy-node/admin-api / totp

Function: totp() ​

totp(secret, time?, step?): string

Defined in: admin-api/src/auth/totp.ts:44

Código TOTP (RFC 6238, SHA-1, 6 dígitos, pasos de 30 s).

Parameters ​

secret ​

string

time? ​

number = ...

step? ​

number = 30

Returns ​

string

Publicado bajo la licencia MIT.