AzureDevOpsAliases.

AzureDevOpsAuthenticationPersonalAccessToken(ICakeContext, string) Method

Summary

Returns credentials for authentication with a personal access token. Can be used for Azure DevOps Server and Azure DevOps Service.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps
Containing Type
AzureDevOpsAliases

Syntax

public static IAzureDevOpsCredentials AzureDevOpsAuthenticationPersonalAccessToken(this ICakeContext context, string personalAccessToken)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
personalAccessToken string Personal access token.

Return Value

Type Description
IAzureDevOpsCredentials Credentials for authentication with a personal access token.