VssBasicToken Constructor
Initializes a new BasicAuthToken instance with the specified token value.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
credentials As ICredentials _
)
public VssBasicToken(
ICredentials credentials
)
public:
VssBasicToken(
ICredentials^ credentials
)
new :
credentials:ICredentials -> VssBasicToken
public function VssBasicToken(
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.