Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface A8ServerConnectInitOptions

A8ServerConnect init options.

Hierarchy

  • A8ServerConnectInitOptions

Index

Properties

globalContext?: typeof globalThis

globalContext provide nodejs global context. Sometimes you need to directly pass global when init A8ServerConnect.

networkType: NetworkType

networkType to determine whether the testnet cluster or mainnet cluster is in use.

withBearerCredential?: string

withCredential to import bearer jwt auth token to the storage.

withCookieCredential?: string

withCookieCredential to import cookie jwt auth token to the storage. Bearer credential is different from cookie credential.

withOAuthCredential?: OAuthCredential

withOAuthCredential to import oauth credential to the storage.

Generated using TypeDoc