AzureDevOpsAliases.

AzureDevOpsAuthenticationAzureActiveDirectory(ICakeContext, string, string) Method

Summary

Returns credentials for authentication with an Azure Active Directory. Can only be used with Azure DevOps.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps
Containing Type
AzureDevOpsAliases

Syntax

public static IAzureDevOpsCredentials AzureDevOpsAuthenticationAzureActiveDirectory(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 authentication with an Azure Active Directory.