Docs · API reference · Motus.Abstractions
HttpCredentials Class#
Credentials for HTTP authentication.
public sealed record HttpCredentials : System.IEquatable<Motus.Abstractions.HttpCredentials>
Inheritance System.Object → HttpCredentials
Implements System.IEquatable<HttpCredentials>
Constructors#
HttpCredentials(string, string) Constructor#
Credentials for HTTP authentication.
public HttpCredentials(string Username, string Password);
Parameters#
Username System.String
The username.
Password System.String
The password.
Properties#
Password Property#
The password.
public string Password { get; init; }
Property Value#
Username Property#
The username.
public string Username { get; init; }