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

    Function partnerAuthorizeResponseForPersistence

    • Returns a plain Partner authorize response copy for trusted auth-cache persistence.

      Unlike JSON.stringify(auth), this preserves authorizationToken so the result can be serialized, parsed, and passed back to PartnerAccountInfo.setAuth().

      The returned value is raw bearer-token material. Store it only in encrypted or otherwise credential-grade durable storage, and never log it.

      Parameters

      Returns PartnerAuthorizeResponse

      A plain object with the live Partner token preserved.