Export (0) Print
Expand All

OAuthTokenCredential Class

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

[SerializableAttribute]
public sealed class OAuthTokenCredential : FederatedCredential

The OAuthTokenCredential type exposes the following members.

  NameDescription
Public methodOAuthTokenCredential(String)Initializes a new OAuthTokenCredential instance with the provided access token.
Public methodOAuthTokenCredential(OAuthTokenContainer)
Public methodOAuthTokenCredential(Uri, String, String, String)Initializes a new OAuthTokenCredential instance with the specified client id and secret and either an authorization code or a refresh token
Public methodOAuthTokenCredential(Uri, String, String, OAuthTokenContainer, OAuthTokensReceivedCallback)Initializes a new OAuthTokenCredential instance with the specified client id and secret and an initial token
Public methodOAuthTokenCredential(Uri, String, String, String, OAuthTokensReceivedCallback)Initializes a new OAuthTokenCredential instance with the specified client id and secret and either an authorization code or a refresh token
Top

  NameDescription
Public propertyClientIdGets the client id.
Public propertyTokenStorage (Inherited from IssuedTokenCredential.)
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