Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.ObjectSyntax
Summary
Basic authentication credentials.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Password
Gets or sets the password.Syntax
Property Value
Type:string
Username
Gets or sets the username.Syntax
Property Value
Type:string
Methods
Clone
Creates a copy of these credentials.Syntax
Returns
Type:Microsoft.OData.Mcp.Core.Configuration.BasicAuthenticationCredentials
A new instance with the same values.
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Validate
Validates the credentials.Syntax
Returns
Type:System.Collections.Generic.IEnumerable<string>
Validation errors.