Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OAuthToken Class

Provides a token that is used for OAuth delegation based authentication


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

public sealed class OAuthToken : IssuedToken

The OAuthToken type exposes the following members.

Protected propertyCredentialTypeType of the credential. (Inherited from IssuedToken.)
Public propertyExpirationThe expiration time of the token
Public propertyIsAuthenticatedGets a value indicating whether or not this token has been successfully authenticated with the remote server. (Inherited from IssuedToken.)
Public propertyTokenGets the underlying token as string
Public propertyTokenTypeGets the type of OAuth token

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.
© 2015 Microsoft