Sdílet prostřednictvím


SharedAccessSignatureTokenProvider.GetSharedAccessSignature Method

Definition

Returns the shared access signature associated with the specified key name, SAS key, resource, and token time-to-live.

public static string GetSharedAccessSignature (string keyName, string sharedAccessKey, string resource, TimeSpan tokenTimeToLive);
static member GetSharedAccessSignature : string * string * string * TimeSpan -> string
Public Shared Function GetSharedAccessSignature (keyName As String, sharedAccessKey As String, resource As String, tokenTimeToLive As TimeSpan) As String

Parameters

keyName
String

The key name.

sharedAccessKey
String

The SAS key name.

resource
String

The resource.

tokenTimeToLive
TimeSpan

The TTL value for the token.

Returns

Returns String.

Applies to