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.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

AuthRequest.cs 671B

1234567891011121314151617181920212223242526
  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 AuthRequest
  11. {
  12. [ProtoMember(1)]
  13. public string ClientId { get; set; }
  14. [ProtoMember(2)]
  15. public string ClientSecret { get; set; }
  16. [ProtoMember(3)]
  17. public string RedirectURI { get; set; }
  18. [ProtoMember(4)]
  19. public string ResponseType { get; set; } = "track";
  20. [ProtoMember(5)]
  21. public string Scope { get; set; }
  22. [ProtoMember(6)]
  23. public string ShowDialog{ get; set; }
  24. }
  25. }