Delen via


ClientOptions.SasTokenTimeToLive Property

Definition

The suggested time to live value for tokens generated for SAS authenticated clients. The TimeSpan provided should be a positive value, signifying that it is not possible to generate tokens that have already expired. If unset the generated SAS tokens will be valid for 1 hour.

public TimeSpan SasTokenTimeToLive { get; set; }
member this.SasTokenTimeToLive : TimeSpan with get, set
Public Property SasTokenTimeToLive As TimeSpan

Property Value

Remarks

This is used only for SAS token authenticated clients through either the CreateFromConnectionString(String, ClientOptions) flow, the CreateFromConnectionString(String, ClientOptions) flow or the CreateFromEnvironmentAsync(ClientOptions) flow.

Applies to