ContainerSessionProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A SessionProvider that mints session tokens using a TokenCredential (OAuth/bearer) and caches them per container. This provider is for TokenCredential authentication only; clients using shared key or SAS credentials do not use it.
The service URI passed to the constructor is expected to be a blob service endpoint (for example, https://{account}.blob.core.windows.net); session creation uses the blob Create Session API.
public class ContainerSessionProvider : Azure.Storage.Blobs.Models.SessionProvider
type ContainerSessionProvider = class
inherit SessionProvider
Public Class ContainerSessionProvider
Inherits SessionProvider
- Inheritance
Constructors
| Name | Description |
|---|---|
| ContainerSessionProvider(Uri, TokenCredential, BlobClientOptions) |
Initializes a new instance of the ContainerSessionProvider class. |