MediaServicesCredentials Class
This class encapsulates the Media Services credentials.
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.MediaServices.Client.MediaServicesCredentials
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Class MediaServicesCredentials
'Usage
Dim instance As MediaServicesCredentials
public class MediaServicesCredentials
public ref class MediaServicesCredentials
type MediaServicesCredentials = class end
public class MediaServicesCredentials
The MediaServicesCredentials type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MediaServicesCredentials(String, String) | Initializes a new instance of the MediaServicesCredentials class. | |
MediaServicesCredentials(String, String, String, String) |
Top
Properties
Name | Description | |
---|---|---|
AccessToken | Gets the OAuth access token to be used for web requests. | |
AcsBaseAddress | The Windows Azure Access Control Service (ACS) endpoint to authenticate against. | |
ClientId | The Microsoft Windows Azure Media Services account name to authenticate with. | |
ClientSecret | The Microsoft Windows Azure Media Services account key to authenticate with. | |
Scope | The scope of authorization. | |
TokenExpiration | Gets the expiration DateTime of the OAuth access token used in web requests. The time is in UTC format. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RefreshToken | Requests a Windows Azure Access Control Service (ACS) token from the server and stores it for future use. | |
SetAcsToken | Stores the Windows Azure Access Control Service (ACS) token info for future use. | |
ToString | (Inherited from Object.) |
Top
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.