AzureDevOpsAliases.

AzureDevOpsAuthenticationBasic(ICakeContext, string, string) Method

Summary

Returns credentials for basic authentication. Can only be used for on-premise Azure DevOps Server configured for basic authentication. See https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/tfs-basic-auth.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps
Containing Type
AzureDevOpsAliases

Syntax

public static IAzureDevOpsCredentials AzureDevOpsAuthenticationBasic(this ICakeContext context, string userName, string password)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
userName string User name.
password string Password.

Return Value

Type Description
IAzureDevOpsCredentials Credentials for basic authentication.