SharedAccessSignatureTokenProvider.GetSharedAccessSignature Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET