dart_frog_auth
1.2.2, released a year ago by dart-frog.dev
Official authentication library and middleware for the Dart Frog backend server framework.
What it does
Provides the foundation for authentication on a Dart Frog backend server, supporting header-based authorization and cookie authentication.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a backend server using the Dart Frog framework
- You need to handle header authorization or cookie authentication in Dart Frog
Skip it when
- You are writing a client-side Flutter application that needs to authenticate with social logins
- You are using a backend framework other than Dart Frog
Strengths
- Official authentication library for Dart Frog
- Supports both header-based and cookie authentication
Weaknesses
- Tied strictly to the Dart Frog backend framework ecosystem
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to your Dart Frog project and configure authentication middleware according to the official documentation.
not documentedAlternatives
Packages that do the same job and could replace dart_frog_auth.
- google_sign_in_ios
iOS and macOS implementation of Google Sign-In for Flutter
90Compare - google_sign_in_android
Android implementation of the google_sign_in plugin
88Compare - oauth2_client
Interact with OAuth2 servers and handle token storage and refreshing in Flutter.
92Compare - passkeys
Flutter plugin enabling passkey authentication based on WebAuthn and FIDO2.
90Compare
Works with
Packages commonly used together with dart_frog_auth: ones it builds on, ones built on it, and its own family.
- dart_frogdart_frog_auth depends on itA minimalistic Dart backend framework with a built‑in dev server and Docker support.
- dart_frog_lintSame familyProvides Dart Frog‑specific lint rules for static analysis.
- dart_frog_genSame familyCode generation tooling for Dart Frog backend applications.
- dart_frog_cliSame familyOfficial command-line interface for the Dart Frog backend framework.
- dart_frog_web_socketSame familyWebSocket support for the Dart Frog backend framework.