TfsPullRequestSystemAliases.

TfsAuthenticationBasic(ICakeContext, string, string) Method

Summary

Returns credentials for basic authentication. Can only be used for on-premise Team Foundation Server configured for basic authentication. See https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/tfs-basic-auth.

Syntax

public static IPrcaCredentials TfsAuthenticationBasic(this ICakeContext context, string userName, string password)

Attributes

Type Description
CakeAliasCategoryAttribute
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IPrcaCredentials Credentials for basic authentication.
GitHub