Search packages, repositories and app categories

Package detailsv4.2.1

nhost_flutter_auth

Provides Nhost authentication state to your Flutter app, making it easy to set up protected resources, and react to sign ins and sign outs.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
416
Likes
11
Pub points
160

Install package

flutter pub add nhost_flutter_auth

Package Overview

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

nhost_flutter_auth is a Flutter package that integrates Nhost's authentication system into your app, managing user state and enabling secure access to protected resources. It provides real-time updates for sign-in and sign-out events, simplifying the implementation of authentication flows across multiple platforms. With seamless support for Android, iOS, Web, macOS, Windows, and Linux, it allows developers to focus on building features rather than handling authentication logic. The package works with Nhost’s backend services to securely manage sessions and user data.

Use cases

  • Secure user login and logout flows
  • Real-time authentication state management
  • Protecting routes based on user status
  • Integrating with Nhost backend services
  • Building multi-platform apps with consistent auth
  • Enabling role-based access control

Key features

  • Real-time auth state updates
  • Cross-platform compatibility
  • Seamless integration with Nhost backend
  • Built-in session management
  • Support for sign-in/sign-out callbacks
  • Easy setup with minimal configuration

Suitable for

  • Flutter apps using Nhost backend
  • Developers seeking quick auth setup
  • Apps requiring real-time auth state
  • Projects targeting multiple platforms
  • Teams using Nhost for full-stack development
  • Applications needing role-based access

Considerations

  • Requires Nhost project setup
  • Dependent on Nhost backend availability
  • Limited customization without additional code
  • May require network permissions on mobile
  • Authentication flow assumes Nhost UI components
  • Not suitable for non-Nhost backends

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Nhost Packages for Dart & Flutter


Nhost

Nhost

Quickstart   •   Website   •   Docs   •   Blog   •   Twitter   •   Discord


Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:

  • Open Source
  • GraphQL
  • SQL
  • Great Developer Experience

Nhost consists of open source software:

Architecture of Nhost




Visit https://docs.nhost.io for the complete documentation.

Get Started

Package
nhost_dart Authentication, file storage, and serverless function API clients nhost_dart nhost_dart Pub
nhost_flutter_auth Flutter widgets for exposing Nhost authentication state to your app nhost_flutter_auth nhost_flutter_auth Pub
nhost_flutter_graphql Flutter widgets for providing Nhost GraphQL connections, for use with the graphql_flutter package nhost_flutter_graphql nhost_flutter_auth Pub
nhost_graphql_adapter GraphQL connection setup, for use with the graphql package nhost_graphql_adapter nhost_graphql_adapter Pub
nhost_gql_links (Internal) Library-independent GraphQL link setup nhost_gql_links nhost_gql_links Pub

Categories

Dependencies

Dependency list 1 items

  • nhost_dart^2.2.0

Source repository

Projects using this package

No data available yet.