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

    Interface AuthorizeAccountResponse

    Normalized SDK-facing response from the b2_authorize_account API call. The SDK uses the v4 endpoint and preserves deprecated v3 compatibility aliases such as storageApi.bucketId and allowed.bucketId.

    interface AuthorizeAccountResponse {
        accountId: AccountId;
        apiInfo: ApiInfo;
        applicationKeyExpirationTimestamp: number | null;
        authorizationToken: AuthToken;
    }
    Index

    Properties

    accountId: AccountId

    The account ID for the authorized account.

    apiInfo: ApiInfo

    API-specific configuration including endpoint URLs and key scope.

    applicationKeyExpirationTimestamp: number | null

    Expiration timestamp of the application key in milliseconds, or null if the key does not expire.

    authorizationToken: AuthToken

    Authorization token to use in subsequent API calls.