AutoMergeCredentials Class

Summary

Configure Auto Merge connection credentials
Assembly
Cake.Tfs.AutoMerge.dll
Namespace
Cake.Tfs.AutoMerge
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AutoMergeCredentials"] class Type type-node

Syntax

public class AutoMergeCredentials

Properties

Name Value Summary
Credentials ITfsCredentials
Configured credentials

Methods

Name Value Summary
AuthenticationBasic(string, string) AutoMergeCredentials
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.
AuthenticationNtlm() AutoMergeCredentials
Returns credentials for integrated / NTLM authentication. Can only be used for on-premise Team Foundation Server.
AuthenticationOAuth(string) AutoMergeCredentials
Returns credentials for OAuth authentication. Can only be used with Visual Studio Team Services.
AuthenticationPersonalAccessToken(string) AutoMergeCredentials
Returns credentials for authentication with a personal access token. Can be used for Team Foundation Server and Visual Studio Team Services.

Extension Methods

Name Value Summary
Dump<AutoMergeCredentials>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AutoMergeCredentials>(AutoMergeCredentials[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AutoMergeCredentials>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AutoMergeCredentials>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AutoMergeCredentials>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AutoMergeCredentials>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin