Skip to content

otplib API Documentation / @otplib/uri / OTPAuthURI

Type Alias: OTPAuthURI ​

OTPAuthURI = object

Defined in: packages/uri/src/types.ts:54

otpauth:// URI structure

Properties ​

label ​

readonly label: string

Defined in: packages/uri/src/types.ts:63

The label (typically: issuer:account or account)


params ​

readonly params: OTPAuthParams

Defined in: packages/uri/src/types.ts:68

Parameters from the URI


type ​

readonly type: OTPType

Defined in: packages/uri/src/types.ts:58

Type of OTP (hotp or totp)

Released under the MIT License.