Skip to main content

Interfaces

AuthInterceptorOptions

Defined in: hooks/axios/withAuth.ts:10

Properties

apiKeyId?
Defined in: hooks/axios/withAuth.ts:20 The API key ID Examples: ‘xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx’ ‘organizations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apiKeys/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx’ Not required to call public (unauthenticated) endpoints.
apiKeySecret?
Defined in: hooks/axios/withAuth.ts:31 The API key secret Examples: ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==’ (Edwards key (Ed25519)) ‘-----BEGIN EC PRIVATE KEY-----\n…\n…\n…==\n-----END EC PRIVATE KEY-----\n’ (EC key (ES256)) Not required to call public (unauthenticated) endpoints.
walletSecret?
Defined in: hooks/axios/withAuth.ts:34 The Wallet Secret
source?
Defined in: hooks/axios/withAuth.ts:37 The source of the request
sourceVersion?
Defined in: hooks/axios/withAuth.ts:40 The version of the source of the request
expiresIn?
Defined in: hooks/axios/withAuth.ts:43 Optional expiration time in seconds (defaults to 120)
debug?
Defined in: hooks/axios/withAuth.ts:46 Whether to log request/response details

Functions