1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2026-01-01 18:23:32 +00:00
Robert fbf908c032 Workshop - Fixed email not being detected as verified
Settings - Fixed new releases not loading when there are more than 20
2023-09-20 22:55:37 +02:00

18 lines
542 B
C#

using System.Collections.ObjectModel;
using System.Security.Claims;
using Artemis.Core.Services;
namespace Artemis.WebClient.Workshop.Services;
public interface IAuthenticationService : IProtectedArtemisService
{
IObservable<bool> IsLoggedIn { get; }
ReadOnlyObservableCollection<Claim> Claims { get; }
IObservable<Claim?> GetClaim(string type);
Task<string?> GetBearer();
Task<bool> AutoLogin(bool force = false);
Task Login(CancellationToken cancellationToken);
void Logout();
bool GetIsEmailVerified();
}