Azure.Storage.Blobs.SessionAuthenticationPolicy
A pipeline policy that selects between session token and bearer token authentication.
This policy occupies the authentication policy slot in the pipeline, wrapping the
BearerTokenAuthenticationPolicy. When Enabled,
eligible blob download requests are authenticated with a session token (one cache entry
per container, created on first access). When Disabled,
all requests are delegated to the wrapped bearer token policy.
public SessionAuthenticationPolicy(Uri endpoint, HttpPipelinePolicy fallbackAuthPolicy, SessionProvider sessionProvider, SessionOptions sessionOptions)
Initializes a new instance of the SessionAuthenticationPolicy class.