This documentation is archived and is not being maintained.

VssOAuthCredential Class

Visual Studio 2013

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

'Declaration
Public NotInheritable Class VssOAuthCredential _
	Inherits FederatedCredential

The VssOAuthCredential type exposes the following members.

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

  NameDescription
Public propertyClientIdGets the client id.
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: