mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
16 lines
446 B
C#
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();
|
|
} |