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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CodeRequest.cs 739B

12345678910111213141516171819202122232425262728
  1. using ProtoBuf;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace GrpcShared.DTO.Auth
  9. {
  10. [ProtoContract]
  11. public class CodeRequest
  12. {
  13. [ProtoMember(1)]
  14. public string? ClientId { get; set; }
  15. [ProtoMember(2)]
  16. public string? ClientSecret { get; set; }
  17. [ProtoMember(3)]
  18. public string? RedirectURI { get; set; }
  19. [ProtoMember(4)]
  20. public string ResponseType { get; set; } = "code";
  21. [ProtoMember(5)]
  22. public string? Scope { get; set; }
  23. [ProtoMember(6)]
  24. [DefaultValue(true)]
  25. public bool ShowDialog { get; set; } = true;
  26. }
  27. }