1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.WebClient.Workshop/Services/IAuthenticationService.cs

16 lines
446 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; }
Task<string?> GetBearer();
Task<bool> AutoLogin();
Task Login(CancellationToken cancellationToken);
void Logout();
}