OAuthTokenContainer Class

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


Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public sealed class OAuthTokenContainer : IssuedToken

The OAuthTokenContainer type exposes the following members.

Public propertyAccessTokenThe access code used to prove authorization on the resource server
Protected propertyCredentialTypeType of the credential. (Inherited from IssuedToken.)
Public propertyIsAuthenticatedGets a value indicating whether or not this token has been successfully authenticated with the remote server. (Inherited from IssuedToken.)
Public propertyRefreshTokenThe refresh token (or authorization code)

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.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.