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
Public method MediaServicesCredentials(String, String) Initializes a new instance of the MediaServicesCredentials class.
Public method MediaServicesCredentials(String, String, String, String)

Top

Properties

  Name Description
Public property AccessToken Gets the OAuth access token to be used for web requests.
Public property AcsBaseAddress The Windows Azure Access Control Service (ACS) endpoint to authenticate against.
Public property ClientId The Microsoft Windows Azure Media Services account name to authenticate with.
Public property ClientSecret The Microsoft Windows Azure Media Services account key to authenticate with.
Public property Scope The scope of authorization.
Public property TokenExpiration Gets the expiration DateTime of the OAuth access token used in web requests. The time is in UTC format.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RefreshToken Requests a Windows Azure Access Control Service (ACS) token from the server and stores it for future use.
Public method SetAcsToken Stores the Windows Azure Access Control Service (ACS) token info for future use.
Public method 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.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace