Export (0) Print
Expand All

OAuthToken Class

Provides a token that is used for OAuth delegation based authentication

System.Object
  Microsoft.TeamFoundation.Client.IssuedToken
    Microsoft.TeamFoundation.Client.OAuthToken

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

[SerializableAttribute]
public sealed class OAuthToken : IssuedToken

The OAuthToken type exposes the following members.

  NameDescription
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
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:
© 2014 Microsoft