All checks were successful
continuous-integration/drone/push Build is passing
25 lines
479 B
C#
25 lines
479 B
C#
using System;
|
|
|
|
namespace CinemaLib.Webshare;
|
|
|
|
/// <summary>
|
|
/// Context for checking user name and password step-by-step.
|
|
/// </summary>
|
|
public struct CredentialCheck
|
|
{
|
|
private readonly string _userName;
|
|
private readonly string _salt;
|
|
|
|
internal CredentialCheck(string userName, string salt)
|
|
{
|
|
this._userName = userName;
|
|
this._salt = salt;
|
|
}
|
|
|
|
public bool IsNull => _userName == null;
|
|
|
|
public string UserName => _userName;
|
|
|
|
internal string Salt => _salt;
|
|
}
|