step-up-labs / firebase-authentication-dotnet

C# library for Firebase Authentication
MIT License
376 stars 129 forks source link

Updated 'AppleProvider.cs' for supporting other TokenTypes than just AccessToken #189

Closed themine702 closed 1 year ago

themine702 commented 1 year ago

A small change to allow the use of other tokens than AccessToken with the AppleProvider

bezysoftware commented 1 year ago

Is this something that's unique for Apple provider? Should we not allow the same thing for all the other providers? If so, can we leverage this new c# feature https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/static-virtual-interface-members ?

themine702 commented 1 year ago

Is this something that's unique for Apple provider? Should we not allow the same thing for all the other providers? If so, can we leverage this new c# feature https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/static-virtual-interface-members ?

i only tested it with Apple personally, but you can test it for other providers, if it works than yes the change should probably happen to all providers