This documentation is archived and is not being maintained.
SimpleWebTokenCredential Constructor (String, String, SimpleWebToken)
Visual Studio 2013
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: