Class SuCredentials
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
Represents authentication credentials with either login/password or token.
public class SuCredentials
- Inheritance
-
SuCredentials
- Inherited Members
- Extension Methods
Constructors
SuCredentials()
Initializes a new instance of the SuCredentials class.
public SuCredentials()
SuCredentials(string)
Initializes a new instance of the SuCredentials class with a token.
public SuCredentials(string token)
Parameters
tokenstringThe authentication token.
SuCredentials(string, string)
Initializes a new instance of the SuCredentials class with login and password.
public SuCredentials(string login, string password)
Parameters
Properties
Login
Gets or sets the login username.
public string Login { get; set; }
Property Value
Password
Gets or sets the password.
public string Password { get; set; }
Property Value
Token
Gets or sets the authentication token.
public string Token { get; set; }