28 lines
688 B
C#
28 lines
688 B
C#
// <copyright file="PasswordAuthenticateDto.cs" company="alveus.dev">
|
|
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
|
|
// </copyright>
|
|
|
|
using Astral.Core.Constants;
|
|
|
|
namespace Astral.Services.Dtos;
|
|
|
|
/// <summary>
|
|
/// Authentication (login) request dto.
|
|
/// </summary>
|
|
public class PasswordAuthenticateDto : BaseAuthenticationDto
|
|
{
|
|
/// <summary>
|
|
/// Agent's username.
|
|
/// </summary>
|
|
public string Username { get; set; }
|
|
|
|
/// <summary>
|
|
/// Agent's password.
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// The scope for the token.
|
|
/// </summary>
|
|
public TokenScope Scope { get; set; }
|
|
}
|