mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-27 23:31:45 +00:00
23 lines
705 B
C#
23 lines
705 B
C#
using SteamLib.Account;
|
|
using SteamLib.Core.Enums;
|
|
|
|
namespace SteamLib.Core.Interfaces;
|
|
|
|
//WARNING: Any changes here should be reflected in MafileSerializer.cs
|
|
public interface ISessionData : ICloneable
|
|
{
|
|
internal bool? IsValid { get; set; }
|
|
public bool IsExpired => RefreshToken.IsExpired;
|
|
public string SessionId { get; }
|
|
public SteamId SteamId { get; }
|
|
public SteamAuthToken RefreshToken { get; }
|
|
|
|
public SteamAuthToken? GetToken(SteamDomain domain);
|
|
public void SetToken(SteamDomain domain, SteamAuthToken token);
|
|
}
|
|
|
|
public interface IMobileSessionData : ISessionData
|
|
{
|
|
public SteamAuthToken? GetMobileToken();
|
|
public void SetMobileToken(SteamAuthToken token);
|
|
} |