GenAuth DocsDocuments
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
  • Single Page Web Application

  • Mobile and Client Applications

    • Android

    • C#

    • Flutter

      • Quick Start
      • APIs

      • Private Deployment
    • iOS

    • React Native
  • Standard Web Application

  • Framework Integration

  • Others

  1. Development Integration
  2. /
  3. Mobile and Client Applications
  4. /
  5. Flutter
  6. /
  7. Quick Start

¶ 快速开始

Update time: 2025-07-23 07:34:21
Edit

¶ 第一步:新建 Flutter 工程

¶ 第二步:添加依赖

在工程的 pubspec.yaml 中,添加以下依赖:

authing_sdk: ^1.0.0

¶ 第三步:初始化

App 启动时,初始化 GenAuth Flutter SDK

import 'package:authing_sdk/authing.dart';

GenAuth.init(String userPoolId, String appId)

userPoolId 为 GenAuth 控制台用户池 ID

appId 为 GenAuth 控制台应用 ID

Previous article: Flutter Next article: 核心认证 API
  • 第一步:新建 Flutter 工程
  • 第二步:添加依赖
  • 第三步:初始化

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.