搜索插件、代码仓与 APP 分类

插件详情v4.2.1

nhost_flutter_auth

为您的 Flutter 应用提供 Nhost 身份验证状态,使设置受保护资源变得简单,并能够响应登录和登出操作。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
416
喜欢数
11
Pub 分数
160

安装插件

flutter pub add nhost_flutter_auth

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

nhost_flutter_auth 是一个 Flutter 包,可将 Nhost 的认证系统集成到您的应用中,管理用户状态并实现对受保护资源的安全访问。它提供登录和登出事件的实时更新,简化了在多个平台上的认证流程实现。该包支持 Android、iOS、Web、macOS、Windows 和 Linux,使开发者能够专注于构建功能,而不是处理认证逻辑。该包与 Nhost 的后端服务配合使用,安全地管理会话和用户数据。

适合场景

  • 安全的用户登录和登出流程
  • 实时身份验证状态管理
  • 根据用户状态保护路由
  • 与 Nhost 后端服务集成
  • 使用一致的身份验证构建多平台应用
  • 启用基于角色的访问控制

主要特点

  • 实时身份验证状态更新
  • 跨平台兼容性
  • 与 Nhost 后端无缝集成
  • 内置会话管理
  • 支持登录/登出回调
  • 轻松设置,配置最少

适合对象

  • 使用 Nhost 后端的 Flutter 应用
  • 寻求快速身份验证设置的开发者
  • 需要实时身份验证状态的应用程序
  • 针对多个平台的项目
  • 使用 Nhost 进行全栈开发的团队
  • 需要基于角色的访问权限的应用程序

使用建议

  • 需要 Nhost 项目设置
  • 取决于 Nhost 后端的可用性
  • 无需额外代码即可进行有限自定义
  • 可能需要移动网络权限
  • 认证流程假定使用 Nhost UI 组件
  • 不适用于非Nhost后端

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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

所属分类

依赖

依赖清单 1 项

  • nhost_dart^2.2.0

源码仓库

使用此插件的项目

暂无相关数据。