internetarchive-ts - v0.1.0
    Preparing search index...

    Type Alias IaAuthConfigBeta

    Auth config

    type IaAuthConfig = {
        cookies?: {
            "logged-in-sig"?: string;
            "logged-in-user"?: string;
            [key: string]: string | undefined;
        };
        email?: string;
        general?: { host?: string; screenname?: string; secure?: boolean };
        itemname?: string;
        s3?: { access?: string; secret?: string };
        screenname?: string;
    }
    Index

    Properties

    cookies?: {
        "logged-in-sig"?: string;
        "logged-in-user"?: string;
        [key: string]: string | undefined;
    }
    email?: string
    general?: { host?: string; screenname?: string; secure?: boolean }

    Type Declaration

    • Optionalhost?: string

      Specify hostname to use for the API connection

      "archive.org"
      
    • Optionalscreenname?: string

      Specify screen name

      undefined
      
    • Optionalsecure?: boolean

      Specify whether to use https or http for the connection

      true
      
    itemname?: string
    s3?: { access?: string; secret?: string }
    screenname?: string