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.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

TokenResponse.cs 590B

123456789101112131415161718192021222324
  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 TokenResponse
  12. {
  13. [ProtoMember(1)]
  14. [JsonProperty("access_token")]
  15. public string? AccessToken { get; set; }
  16. [ProtoMember(2)]
  17. [JsonProperty("refresh_token")]
  18. public string? RefreshToken{ get; set; }
  19. [ProtoMember(3)]
  20. [JsonProperty("expires_in")]
  21. public int? Expiration { get; set; }
  22. }
  23. }