Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Represents a set of credentials used to authenticate access to a Windows Azure storage account.

Namespace:   Microsoft.WindowsAzure.Storage.Auth
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Inheritance Hierarchy

System.::..Object
  Microsoft.WindowsAzure.Storage.Auth.::..StorageCredentials

Syntax

 
public sealed class StorageCredentials
 
public ref class StorageCredentials sealed 
 
[<Sealed>]
type StorageCredentials = class end
 
Public NotInheritable Class StorageCredentials

Constructors

NameDescription
System_CAPS_pubmethodStorageCredentials()()()()

Initializes a new instance of the StorageCredentials class.

System_CAPS_pubmethodStorageCredentials(String)(String^)(String)(String)

Initializes a new instance of the StorageCredentials class with the specified shared access signature token.

System_CAPS_pubmethodStorageCredentials(String, Byte[])(String^, array<Byte>^)(String, Byte[])(String, Byte())

Initializes a new instance of the StorageCredentials class with the specified account name and key value.

System_CAPS_pubmethodStorageCredentials(String, Byte[], String)(String^, array<Byte>^, String^)(String, Byte[], String)(String, Byte(), String)

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

System_CAPS_pubmethodStorageCredentials(String, String)(String^, String^)(String, String)(String, String)

Initializes a new instance of the StorageCredentials class with the specified account name and key value.

System_CAPS_pubmethodStorageCredentials(String, String, String)(String^, String^, String^)(String, String, String)(String, String, String)

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

Properties

NameDescription
System_CAPS_pubpropertyAccountNameAccountNameAccountNameAccountName

Gets the associated account name for the credentials.

System_CAPS_pubpropertyIsAnonymousIsAnonymousIsAnonymousIsAnonymous

Gets a value indicating whether the credentials are for anonymous access.

System_CAPS_pubpropertyIsSASIsSASIsSASIsSAS

Gets a value indicating whether the credentials are a shared access signature token.

System_CAPS_pubpropertyIsSharedKeyIsSharedKeyIsSharedKeyIsSharedKey

Gets a value indicating whether the credentials are a shared key.

System_CAPS_pubpropertyKeyNameKeyNameKeyNameKeyName

Gets the associated key name for the credentials.

System_CAPS_pubpropertySASSignatureSASSignatureSASSignatureSASSignature

Gets the value of the shared access signature token's

 
sig

parameter.

System_CAPS_pubpropertySASTokenSASTokenSASTokenSASToken

Gets the associated shared access signature token for the credentials.

Methods

NameDescription
System_CAPS_pubmethodEquals(Object)(Object^)(Object)(Object)

(Inherited from Object.)

System_CAPS_pubmethodEquals(StorageCredentials)(StorageCredentials^)(StorageCredentials)(StorageCredentials)

Determines whether an other StorageCredentials object is equal to this one by comparing their SAS tokens, account names, key names, and key values.

System_CAPS_pubmethodExportBase64EncodedKey()()()()

Exports the value of the account access key to a Base64-encoded string.

System_CAPS_pubmethodExportKey()()()()

Returns the account key for the credentials.

System_CAPS_pubmethodGetHashCode()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetType()()()()

(Inherited from Object.)

System_CAPS_pubmethodToString()()()()

(Inherited from Object.)

System_CAPS_pubmethodTransformUri(StorageUri)(StorageUri^)(StorageUri)(StorageUri)

Transforms a resource URI into a shared access signature URI, by appending a shared access token.

System_CAPS_pubmethodTransformUri(Uri)(Uri^)(Uri)(Uri)

Transforms a resource URI into a shared access signature URI, by appending a shared access token.

System_CAPS_pubmethodUpdateKey(Byte[])(array<Byte>^)(Byte[])(Byte())

Updates the key value for the credentials.

System_CAPS_pubmethodUpdateKey(Byte[], String)(array<Byte>^, String^)(Byte[], String)(Byte(), String)

Updates the key value and key name for the credentials.

System_CAPS_pubmethodUpdateKey(String)(String^)(String)(String)

Updates the key value for the credentials.

System_CAPS_pubmethodUpdateKey(String, String)(String^, String^)(String, String)(String, String)

Updates the key value and key name for the credentials.

System_CAPS_pubmethodUpdateSASToken(String)(String^)(String)(String)

Updates the shared access signature (SAS) token value for storage credentials created with a shared access signature.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top