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