FLUTTER ECOSYSTEM

oauth2_client

Flutter library for interacting with OAuth2 servers, with classes for transparent authorized requests, secure token storage, automatic token refreshing.

Latest version
4.3.3
30-day downloads
29.2K
Likes
201
Pub points
160

Package Overview

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

Overview

A Flutter library designed to simplify interactions with OAuth2 servers. It enables transparently authorized HTTP requests, secure token storage, and automatic token refreshing. The package handles authentication flows seamlessly across multiple platforms, ensuring tokens are safely persisted and renewed without user intervention. Ideal for apps requiring secure access to third-party APIs using OAuth2.

Use cases
  • Integrating with OAuth2-enabled APIs
  • Handling secure token management
  • Automating token refresh workflows
  • Supporting multi-platform authentication
  • Enabling seamless login flows
  • Managing API access with minimal boilerplate
Key features
  • Secure token storage
  • Automatic token refreshing
  • Transparent authorized requests
  • Cross-platform support
  • Simple integration with HTTP clients
  • Built-in OAuth2 flow handling
Suitable for
  • Apps needing OAuth2 authentication
  • Developers building secure API integrations
  • Projects targeting multiple platforms
  • Teams prioritizing security and ease of use
  • Applications requiring long-lived user sessions
Considerations
  • Requires proper configuration of OAuth2 server
  • Depends on platform-specific storage mechanisms
  • May need custom handling for non-standard OAuth2 implementations
  • Limited to OAuth2 protocol
  • Assumes secure network communication
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add oauth2_client

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects