This documentation is archived and is not being maintained.

VssOAuthTokenContainer Class

Visual Studio 2013

A container to encapsulate an OAuth access token and an OAuth refresh token (or authorization code)

System.Object
  Microsoft.VisualStudio.Services.Common.IssuedToken
    Microsoft.VisualStudio.Services.Client.VssOAuthTokenContainer

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

'Declaration
Public NotInheritable Class VssOAuthTokenContainer _
	Inherits IssuedToken

The VssOAuthTokenContainer type exposes the following members.

  NameDescription
Public propertyAccessTokenThe access code used to prove authorization on the resource server
Protected propertyCredentialType (Inherited from IssuedToken.)
Public propertyIsAuthenticated (Inherited from IssuedToken.)
Public propertyRefreshTokenThe refresh token (or authorization code)
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (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.
Show: