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 символов.

TokenRequest.cs 480B

12345678910111213141516171819202122
  1. using ProtoBuf;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace GrpcShared.DTO.Auth
  8. {
  9. [ProtoContract]
  10. public class TokenRequest
  11. {
  12. [ProtoMember(1)]
  13. public string grant_type { get; set; } = "authorization_code";
  14. [ProtoMember(2)]
  15. public string? code { get; set; }
  16. [ProtoMember(3)]
  17. public string? redirect_uri { get; set; }
  18. }
  19. }