gcp_auth
gcp_auth copied to clipboard
Add TokenProvider::email() method
Because TokenProvider is a trait (and not sealed), this is technically a breaking change. Since there's just been a breaking change a month ago, not sure if we want a breaking change for this again? If so, maybe also turn it into an enum instead of a trait...
r? @valkum
Wondering if any users make use of the trait. If not, it does make sense to exchange this with an enum. The types of auth are finite, and I currently can't see any need to be able to specify your own token provider.
Maybe we should release the change together with the trait -> enum conversion as a -rc.0 first?