23 lines
554 B
C#
23 lines
554 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Koogle.Domain.Interfaces
|
|
{
|
|
public interface ICurrentUserService
|
|
{
|
|
/// <summary>
|
|
/// Die ID des aktuell angemeldeten Benutzers.
|
|
/// Gibt Guid.Empty zurück, wenn kein Benutzer angemeldet ist.
|
|
/// </summary>
|
|
int UserId { get; }
|
|
|
|
/// <summary>
|
|
/// Gibt an, ob ein Benutzer authentifiziert ist.
|
|
/// </summary>
|
|
bool IsAuthenticated { get; }
|
|
}
|
|
}
|