TokenCloudCredentials Class
Class for token based credentials associated with a particular subscription.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.CloudCredentials
Microsoft.WindowsAzure.SubscriptionCloudCredentials
Microsoft.WindowsAzure.TokenCloudCredentials
Syntax
public class TokenCloudCredentials : SubscriptionCloudCredentials
public ref class TokenCloudCredentials : SubscriptionCloudCredentials
type TokenCloudCredentials =
class
inherit SubscriptionCloudCredentials
end
Public Class TokenCloudCredentials
Inherits SubscriptionCloudCredentials
Constructors
Name | Description | |
---|---|---|
TokenCloudCredentials(String) | Initializes a new instance of the TokenCloudCredentials class without subscription ID. |
|
TokenCloudCredentials(String, String) | Initializes a new instance of the TokenCloudCredentials class with subscription ID. |
Properties
Name | Description | |
---|---|---|
SubscriptionId | Gets subscription ID which uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every call that you make to the Service Management API.(Overrides SubscriptionCloudCredentials.SubscriptionId.) |
|
Token | Gets or sets secure token used to authenticate against Microsoft Azure API. No anonymous requests are allowed. |
Methods
Name | Description | |
---|---|---|
Create(IDictionary<String, Object>) | Attempt to create token credentials from a collection of settings. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
InitializeServiceClient<T>(ServiceClient<T>) | Initializes an instance of ServiceClient<T> that is used to process the credentials.(Inherited from CloudCredentials.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken) | Apply the credentials to the HTTP request.(Overrides CloudCredentials.ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken).) |
|
ToString() | (Inherited from Object.) |
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.
See Also
Microsoft.WindowsAzure Namespace
Return to top