Partager via


AccessTokenResponse Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.OAuth.AccessTokenResponse

Namespace:  Microsoft.VisualStudio.Services.OAuth
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public NotInheritable Class AccessTokenResponse
[DataContractAttribute]
public sealed class AccessTokenResponse
[DataContractAttribute]
public ref class AccessTokenResponse sealed
[<Sealed>]
[<DataContractAttribute>]
type AccessTokenResponse =  class end
public final class AccessTokenResponse

The AccessTokenResponse type exposes the following members.

Constructors

  Name Description
Public method AccessTokenResponse()
Public method AccessTokenResponse(String, String, String)

Top

Properties

  Name Description
Public property AccessToken
Public property ExpiresIn
Public property RefreshToken
Public property TokenType

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (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.VisualStudio.Services.OAuth Namespace