astral-api/Astral.Services/Interfaces/IInitialUserService.cs

17 lines
489 B
C#
Raw Normal View History

2024-12-11 21:36:30 +01:00
// <copyright file="IInitialUserService.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Services.Interfaces;
/// <summary>
/// Service responsible for creating the initial user if no other users exist.
/// </summary>
public interface IInitialUserService
{
/// <summary>
/// If an initial user is required, then create it.
/// </summary>
Task CreateFirstUserIfRequiredAsync();
}