This documentation is archived and is not being maintained.

SimpleWebTokenCredential Constructor (String, String, SimpleWebToken)

Initializes a new SimpleWebTokenCredential instance with the specified user name and password. The provided token, if not null, will be used before it tries authentication with the credentials.

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

public:
SimpleWebTokenCredential(
	String^ userName, 
	String^ password, 
	SimpleWebToken^ initialToken
)

Parameters

userName
Type: System::String

The user name

password
Type: System::String

The password

initialToken
Type: Microsoft.TeamFoundation.Client::SimpleWebToken

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

Show: