AzureDevOpsBasicCredentials Class

Summary

Credentials for basic authentication.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps.Authentication
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IAzureDevOpsCredentials"] click Interface0 "/api/Cake.AzureDevOps.Authentication/IAzureDevOpsCredentials" Type["AzureDevOpsBasicCredentials"] class Type type-node Derived0["AzureDevOpsAadCredentials"]-->Type click Derived0 "/api/Cake.AzureDevOps.Authentication/AzureDevOpsAadCredentials"

Syntax

public class AzureDevOpsBasicCredentials : IAzureDevOpsCredentials

Constructors

Name Summary
AzureDevOpsBasicCredentials(string, string) Credentials for basic authentication.

Properties

Name Value Summary
Password string
Gets the password.
UserName string
Gets the user name.

Extension Methods

Name Value Summary
Dump<AzureDevOpsBasicCredentials>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureDevOpsBasicCredentials>(AzureDevOpsBasicCredentials[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureDevOpsBasicCredentials>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AzureDevOpsBasicCredentials>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AzureDevOpsBasicCredentials>(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<AzureDevOpsBasicCredentials>(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