BasicAuthToken Constructor
Initializes a new BasicAuthToken instance with the specified token value.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
credentials As ICredentials _
)
public BasicAuthToken(
ICredentials credentials
)
public:
BasicAuthToken(
ICredentials^ credentials
)
new :
credentials:ICredentials -> BasicAuthToken
public function BasicAuthToken(
credentials : ICredentials
)
Parameters
credentials
Type: System.Net.ICredentialsThe credentials which should be used for authentication
.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.