Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
userName
Type: System.StringThe user name
password
Type: System.StringThe password
initialToken
Type: Microsoft.TeamFoundation.Client.SimpleWebTokenAn optional token which, if present, should be used before obtaining a new token
.NET Framework Security
- 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.
See Also
Reference
SimpleWebTokenCredential Class