feat: add a token handler

This commit is contained in:
nikita
2024-12-26 16:14:55 +03:00
parent 9d5007ef3a
commit 516ba5bb8e
2 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,17 @@
namespace Mirea.Api.Dto.Common;
/// <summary>
/// Defines the actions that can be performed with an OAuth token.
/// </summary>
public enum OAuthAction
{
/// <summary>
/// The action to log in the user using the provided OAuth token.
/// </summary>
Login,
/// <summary>
/// The action to bind an OAuth provider to the user's account.
/// </summary>
Bind
}