SessionOptions interface
ONLY AVAILABLE IN NODE.JS RUNTIME.
Options for configuring session token authentication for blob operations.
Session authentication currently applies only to blob download requests made with a
TokenCredential. These options are exported from the browser and React Native entry points
for type compatibility, but they have no effect there: signing a session requires Shared Key,
which is unavailable outside Node.js, so those builds always use a bearer token.
Properties
| account |
The account name used to sign requests within a session. Optional; by default the account name is derived from the request URL. Set this explicitly when using a custom endpoint URL from which the account name cannot be derived. |
| mode | The session authentication mode. Defaults to |
Property Details
accountName
The account name used to sign requests within a session. Optional; by default the account name is derived from the request URL. Set this explicitly when using a custom endpoint URL from which the account name cannot be derived.
accountName?: string
Property Value
string
mode
The session authentication mode. Defaults to auto, whose behavior is determined by the
client library and may change in future releases.
mode?: SessionMode