Blazor & WASM in combination to get statistics from Spotify API for performing the song analysis. With separate microservices for auth, Spotify, user data tracking, and application, connected through gRPC with Polly.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

RefreshTokenResponse.cs 511B

12345678910111213141516171819202122
  1. using Newtonsoft.Json;
  2. using ProtoBuf;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace GrpcShared.DTO.Auth
  9. {
  10. [ProtoContract]
  11. public class RefreshTokenResponse : StatusCodeMessage
  12. {
  13. [ProtoMember(1)]
  14. [JsonProperty("access_token")]
  15. public string? AccessToken { get; set; }
  16. [ProtoMember(2)]
  17. [JsonProperty("expires_in")]
  18. public int? Expiration { get; set; }
  19. }
  20. }