google-auth-library-python icon indicating copy to clipboard operation
google-auth-library-python copied to clipboard

Move async interfaces to public surface once integrated

Open crwilcox opened this issue 3 years ago • 5 comments

Since there aren't any packages using this yet, it has been put in as _internal surface in #612

Once this is being used, we should move to a public surface with this.

  • google.auth.transport._aiohttp_requests -> google.auth.transport.aiohttp_requests
  • google.auth._jwt_async -> google.auth.jwt_async
  • google.auth._credentials_async -> google.auth.credentials_async
  • google.oauth2._service_account_async -> google.oauth2.service_account_async
  • google.oauth2._credentials_async -> google.oauth2.credentials_async
  • google.oauth2._id_token_async -> google.oauth2.id_token_async

Also, google/auth/__init__.py should be updated with the following:

from google.auth._default_async import default_async
 
__all__ = ["default", "load_credentials_from_file", "default_async"]

crwilcox avatar Sep 25 '20 21:09 crwilcox

Hi Any progress on this?

timuram avatar Dec 02 '20 11:12 timuram

Hi, we'd really like to use this :) Any new plans for when this can be done?

juzna avatar Jul 24 '23 06:07 juzna

Bumping priority due to b/326291423

parthea avatar Mar 04 '24 14:03 parthea

I would also like to use this!

kiraksi avatar Mar 05 '24 16:03 kiraksi