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.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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. }