@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Class InMemoryPartnerAccountInfo

    In-memory implementation of PartnerAccountInfo. Suitable for short-lived processes or tests; state is lost when the process exits.

    Implements

    Index
    • Base URL for Computer Backup API calls, or null when the suite is unavailable.

      Returns string | null

      The Computer Backup API URL, or null.

      B2PartnerAuthorizationError if not yet authorized.

    • Capabilities granted for Computer Backup API calls, or null when the suite is unavailable.

      Returns readonly "all"[] | null

      The Computer Backup API capabilities, or null.

      B2PartnerAuthorizationError if not yet authorized.

    • Hides the Partner token from default stringification.

      Returns string

      A short opaque label for this account info store.