Delen via


OAuthTokenCredential Constructor (String)

Initializes a new OAuthTokenCredential instance with the provided access token.

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

Syntax

'Declaration
Public Sub New ( _
    accessToken As String _
)
public OAuthTokenCredential(
    string accessToken
)
public:
OAuthTokenCredential(
    String^ accessToken
)
new : 
        accessToken:string -> OAuthTokenCredential
public function OAuthTokenCredential(
    accessToken : String
)

Parameters

.NET Framework Security

See Also

Reference

OAuthTokenCredential Class

OAuthTokenCredential Overload

Microsoft.TeamFoundation.Client Namespace