Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Services.Common.IssuedTokenCredential
Microsoft.VisualStudio.Services.Common.FederatedCredential
Microsoft.VisualStudio.Services.Client.VssOAuthCredential
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public NotInheritable Class VssOAuthCredential _
Inherits FederatedCredential
public sealed class VssOAuthCredential : FederatedCredential
public ref class VssOAuthCredential sealed : public FederatedCredential
[<Sealed>]
type VssOAuthCredential =
class
inherit FederatedCredential
end
public final class VssOAuthCredential extends FederatedCredential
The VssOAuthCredential type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
VssOAuthCredential(String) | Initializes a new VssOAuthCredential instance with the provided access token. |
![]() |
VssOAuthCredential(VssOAuthTokenContainer) | |
![]() |
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 |
![]() |
VssOAuthCredential(Uri, String, String, VssOAuthTokenContainer, Action<VssOAuthTokenContainer>) | Initializes a new VssOAuthCredential instance with the specified client id and secret and an initial token |
![]() |
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
Properties
| Name | Description | |
|---|---|---|
![]() |
ClientId | Gets the client id. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)