TfsPullRequestSystemAliases.

TfsAuthenticationOAuth(ICakeContext, string) Method

Summary

Returns credentials for OAuth authentication. Can only be used with Visual Studio Team Services.

Syntax

public static IPrcaCredentials TfsAuthenticationOAuth(this ICakeContext context, string accessToken)

Attributes

Type Description
CakeAliasCategoryAttribute
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IPrcaCredentials Credentials for OAuth authentication.
GitHub