SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

MediaServicesCredentials Class

Updated: December 5, 2013

This class encapsulates the Media Services credentials.

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.MediaServicesCredentials

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

public class MediaServicesCredentials

The MediaServicesCredentials type exposes the following members.

  NameDescription
Public methodMediaServicesCredentials(String, String)Initializes a new instance of the MediaServicesCredentials class.
Public methodMediaServicesCredentials(String, String, String, String)
Top

  NameDescription
Public propertyAccessTokenGets the OAuth access token to be used for web requests.
Public propertyAcsBaseAddressThe Windows Azure Access Control Service (ACS) endpoint to authenticate against.
Public propertyClientIdThe Microsoft Windows Azure Media Services account name to authenticate with.
Public propertyClientSecretThe Microsoft Windows Azure Media Services account key to authenticate with.
Public propertyScopeThe scope of authorization.
Public propertyTokenExpirationGets the expiration DateTime of the OAuth access token used in web requests. The time is in UTC format.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshTokenRequests a Windows Azure Access Control Service (ACS) token from the server and stores it for future use.
Public methodSetAcsTokenStores the Windows Azure Access Control Service (ACS) token info for future use.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2016 Microsoft