FLUTTER ECOSYSTEM

googleapis_auth

Obtain Access credentials for Google services using OAuth 2.0

Latest version
2.3.4
30-day downloads
1.7M
Likes
244
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The googleapis_auth package enables Flutter applications to obtain OAuth 2.0 access credentials for interacting with Google APIs. It simplifies authentication by handling token acquisition, refresh, and management securely. Designed for use with Google's API client libraries, it supports multiple platforms including Android, iOS, macOS, Windows, and Linux. The package integrates seamlessly into apps requiring access to services like Google Drive, Gmail, or Calendar, ensuring secure and compliant authorization workflows.

Use cases
  • Accessing Google Drive from a Flutter app
  • Authenticating users for Gmail API
  • Integrating with Google Calendar
  • Securing API calls to Google Cloud services
  • Enabling user sign-in with Google
Key features
  • OAuth 2.0 token management
  • Support for multiple platforms
  • Automatic token refresh
  • Integration with googleapis library
  • Secure credential storage
Suitable for
  • Flutter apps needing Google API access
  • Apps using Google Cloud services
  • User-authenticated backend integrations
  • Cross-platform mobile and desktop apps
Considerations
  • Requires proper OAuth 2.0 setup in Google Cloud Console
  • Needs handling of user consent flow
  • Limited to Google service authentication
  • Dependent on internet connectivity for token refresh
  • May require additional UI for login flows
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add googleapis_auth

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects