| 123456789101112131415161718192021222324 |
- 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 TokenResponse
- {
- [ProtoMember(1)]
- [JsonProperty("access_token")]
- public string? AccessToken { get; set; }
- [ProtoMember(2)]
- [JsonProperty("refresh_token")]
- public string? RefreshToken{ get; set; }
- [ProtoMember(3)]
- [JsonProperty("expires_in")]
- public int? Expiration { get; set; }
- }
- }
|