| 1234567891011121314151617181920212223242526 |
- using Newtonsoft.Json;
- using ProtoBuf;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace GrpcShared.DTO.Auth
- {
- [ProtoContract]
- public class TokenRequest
- {
- [ProtoMember(1)]
- [JsonProperty("grant_type")]
- public string GrantType { get; set; } = "authorization_code";
- [ProtoMember(2)]
- [JsonProperty("code")]
- public string? Code { get; set; }
- [ProtoMember(3)]
- [JsonProperty("redirect_uri")]
- public string? RedirectUri { get; set; }
-
-
- }
- }
|