Partager via


OAuthTokenCredential Constructor

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method OAuthTokenCredential(String) Initializes a new OAuthTokenCredential instance with the provided access token.
Public method OAuthTokenCredential(OAuthTokenContainer)
Public method OAuthTokenCredential(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 method OAuthTokenCredential(Uri, String, String, OAuthTokenContainer, OAuthTokensReceivedCallback) Initializes a new OAuthTokenCredential instance with the specified client id and secret and an initial token
Public method OAuthTokenCredential(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

See Also

Reference

OAuthTokenCredential Class

Microsoft.TeamFoundation.Client Namespace