GenAuth DocsDocuments
Concepts
User Guide
Development Integration
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
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

    • iOS

      • Quick Start
      • Hosted Pages
      • Components

      • APIs

      • Social Login

      • Typical Scenarios

      • Private Deployment
    • React Native
  • Standard Web Application

  • Framework Integration

  • Others

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

¶ 快速开始

Update time: 2025-04-11 11:21:15
Edit

¶ 1. 新建 iOS Swift 工程

¶ 2. 添加 Guard 依赖

在 Xcode 菜单栏右上角选择 File 点击 Add Packages

在 Swift Package 搜索栏输入:https://github.com/Authing/guard-ios

依赖规则选择 Up to Next Major Version 1.0.0

¶ 3. 初始化

红色部分是需要改动的地方

¶ 4. 常用操作

¶ a. 注册/登录并获取用户信息

  • 使用 SDK 托管页
  • 使用 SDK 超组件
  • 使用 SDK API

¶ b. 第三方身份源登录

¶ c. 典型场景

¶ d. 私有化部署

Previous article: iOS Next article: Hosted Pages
  • 1. 新建 iOS Swift 工程
  • 2. 添加 Guard 依赖
  • 3. 初始化
  • 4. 常用操作

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.