共用方式為


VssOAuthCredential 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 VssOAuthCredential(String) Initializes a new VssOAuthCredential instance with the provided access token.
Public method VssOAuthCredential(VssOAuthTokenContainer)
Public method VssOAuthCredential(Uri, String, String, String) Initializes a new VssOAuthCredential instance with the specified client id and secret and either an authorization code or a refresh token
Public method VssOAuthCredential(Uri, String, String, VssOAuthTokenContainer, Action<VssOAuthTokenContainer>) Initializes a new VssOAuthCredential instance with the specified client id and secret and an initial token
Public method VssOAuthCredential(Uri, String, String, String, Action<VssOAuthTokenContainer>) Initializes a new VssOAuthCredential instance with the specified client id and secret and either an authorization code or a refresh token

Top

See Also

Reference

VssOAuthCredential Class

Microsoft.VisualStudio.Services.Client Namespace