@nowarajs/totp
    Preparing search index...

    Interface OtpAuthUri

    Complete OTPAuth URI data structure

    interface OtpAuthUri {
        algorithm?: "SHA-1" | "SHA-256" | "SHA-512";
        digits?: 6 | 8;
        issuer: string;
        label: string;
        period?: number;
        secretBase32: string;
    }
    Index

    Properties

    algorithm?: "SHA-1" | "SHA-256" | "SHA-512"

    Hash algorithm

    'SHA-1'
    
    digits?: 6 | 8

    Number of digits

    6
    
    issuer: string

    Issuer name (app/service name)

    label: string

    Label for the account (usually email or username)

    period?: number

    Time period in seconds

    30
    
    secretBase32: string

    Base32 encoded secret