AuthenticationInfo Class

Summary

Holds credentials used when authenticating with a remote Git repository.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.Git
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEquatable<AuthenticationInfo>"] Type["AuthenticationInfo"] class Type type-node

Syntax

public class AuthenticationInfo : IEquatable<AuthenticationInfo>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
EqualityContract Type
Password string
Gets or sets the password for basic authentication.
Token string
Gets or sets the personal access token used instead of a username/password pair.
Username string
Gets or sets the username for basic authentication.

Methods

Operators

Name Value Summary
operator !=(AuthenticationInfo, AuthenticationInfo) bool
operator ==(AuthenticationInfo, AuthenticationInfo) bool

Extension Methods

Name Value Summary
NotNull<AuthenticationInfo>(string) T
Throws System.ArgumentNullException when value is null; otherwise returns the value.