This documentation is archived and is not being maintained.

BasicAuthCredential Constructor (BasicAuthToken)

Initializes a new BasicAuthCredential instance with the specified token.

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

public:
BasicAuthCredential(
	BasicAuthToken^ initialToken
)

Parameters

initialToken
Type: Microsoft.TeamFoundation.Client::BasicAuthToken

An optional token which, if present, should be used before obtaining a new token

Show: