Files
stream-cinema/CinemaLib/Webshare/CredentialCheck.cs
Roman Vaníček 1da58e2e0e
All checks were successful
continuous-integration/drone/push Build is passing
User authentication. Jellyfin configuration incomplete.
2024-12-06 09:53:21 +01:00

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;
}