Delen via


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)

Syntax

'Declaration
Public Sub New ( _
    userName As String, _
    password As String, _
    initialToken As SimpleWebToken _
)
public SimpleWebTokenCredential(
    string userName,
    string password,
    SimpleWebToken initialToken
)
public:
SimpleWebTokenCredential(
    String^ userName, 
    String^ password, 
    SimpleWebToken^ initialToken
)
new : 
        userName:string * 
        password:string * 
        initialToken:SimpleWebToken -> SimpleWebTokenCredential
public function SimpleWebTokenCredential(
    userName : String, 
    password : String, 
    initialToken : SimpleWebToken
)

Parameters

.NET Framework Security

See Also

Reference

SimpleWebTokenCredential Class

SimpleWebTokenCredential Overload

Microsoft.TeamFoundation.Client Namespace