AzureDevOpsAliases.

AzureDevOpsAuthenticationOAuth(ICakeContext, string) Method

Summary

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

Syntax

public static IAzureDevOpsCredentials AzureDevOpsAuthenticationOAuth(this ICakeContext context, string accessToken)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
accessToken string OAuth access token.

Return Value

Type Description
IAzureDevOpsCredentials Credentials for OAuth authentication.