C# Class ppatierno.AzureSBLite.SharedAccessSignatureTokenProvider

SAS token provider
Inheritance: ppatierno.AzureSBLite.TokenProvider
Exibir arquivo Open project: ppatierno/azuresblite

Private Properties

Property Type Description
SharedAccessSignatureTokenProvider System
SharedAccessSignatureTokenProvider System

Public Methods

Method Description
GetPublisherSharedAccessSignature ( Uri endpoint, string entityPath, string publisher, string keyName, string key, System.TimeSpan tokenTimeToLive ) : string
GetSharedAccessSignature ( string keyName, string sharedAccessKey, string resource, System.TimeSpan tokenTimeToLive ) : string

Private Methods

Method Description
SharedAccessSignatureTokenProvider ( string shareAccessSignature ) : System

Constructor

SharedAccessSignatureTokenProvider ( string keyName, string sharedAccessKey ) : System

Constructor

Method Details

GetPublisherSharedAccessSignature() public static method

public static GetPublisherSharedAccessSignature ( Uri endpoint, string entityPath, string publisher, string keyName, string key, System.TimeSpan tokenTimeToLive ) : string
endpoint Uri
entityPath string
publisher string
keyName string
key string
tokenTimeToLive System.TimeSpan
return string

GetSharedAccessSignature() public static method

public static GetSharedAccessSignature ( string keyName, string sharedAccessKey, string resource, System.TimeSpan tokenTimeToLive ) : string
keyName string
sharedAccessKey string
resource string
tokenTimeToLive System.TimeSpan
return string