Summary
Holds credentials used when authenticating with a remote Git repository.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Interfaces
-
- IEquatable
<AuthenticationInfo>
- IEquatable
- 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 |
|---|---|
| Nullable |
|
| 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
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool | |
| GetHashCode |
int | |
| PrintMembers |
bool | |
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator == |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|