Share via


OAuth2TokenResponse Class

OAuth2 Token Response class represents wire response when renewing Access Tokens.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.OAuth.OAuth2TokenResponse

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

Syntax

'Declaration
<DataContractAttribute> _
Public Class OAuth2TokenResponse
'Usage
Dim instance As OAuth2TokenResponse
[DataContractAttribute]
public class OAuth2TokenResponse
[DataContractAttribute]
public ref class OAuth2TokenResponse
[<DataContractAttribute>]
type OAuth2TokenResponse =  class end
public class OAuth2TokenResponse

The OAuth2TokenResponse type exposes the following members.

Constructors

  Name Description
Public method OAuth2TokenResponse Initializes a new instance of the OAuth2TokenResponse class.

Top

Properties

  Name Description
Public property AccessToken Gets or sets current access token value.
Public property ExpirationInSeconds Gets or sets current refresh token value.

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 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.OAuth Namespace