using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Centron.Api.docuFORM.Models { public class AuthCodeRequest { [JsonPropertyName("client_id")] public string ClientId { get; set; } = string.Empty; [JsonPropertyName("response_type")] public string ResponseType { get; set; } = "code"; [JsonPropertyName("scope")] public string Scope { get; set; } = string.Empty; [JsonPropertyName("redirect_uri")] public string RedirectUri { get; set; } = "http://127.0.0.1"; [JsonPropertyName("authMode")] public string AuthMode { get; set; } = string.Empty; [JsonPropertyName("state")] public string State { get; set; } = string.Empty; [JsonPropertyName("code_challenge_method")] public string CodeChallengeMethod { get; set; } = "S256"; [JsonPropertyName("code_challenge")] public string CodeChallenge { get; set; } = string.Empty; [JsonPropertyName("infotext")] public string InfoText { get; set; } = string.Empty; [JsonPropertyName("username")] public string UserName { get; set; } = string.Empty; } }