Skip to content

Latest commit

 

History

History

authservice

auth quickstart

Introduction

Auth Service provides cloud services and the SDK to help you quickly build a secure and reliable user authentication system for your app. Auth Service supports multiple authentication modes and is closely integrated with other serverless services, effectively protecting user data by defining simple rules.

Preparing the Environment

XCode 11.0 or later. iOS 9 or later.

Configuration

Before running the quickstart app, you need to:

  1. If you do not have a HUAWEI Developer account, you need to register an account and pass identity verification.
  2. Use your account to sign in to AppGallery Connect, create an app, and set Package type to iOS.
  3. Enable authentication modes. 3.1 Sign in to AppGallery Connect and select My projects. Find your project from the project list and click the app for which you need to enable Auth Service on the project card. 3.2 Go to Build > Auth Service. If it is the first time that you use Auth Service, click Enable now in the upper right corner. 3.3 Click Enable in the row of each authentication mode to be enabled. 3.4 If an authentication mode requires related information, configure the information by referring to the development guide.
  4. Download the agconnect-services.plist file from AppGallery Connect, and add to your project。

Question or issues

If you have questions about how to use AppGallery Connect Demos, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum AppGallery Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

quickstart is licensed under the [Apache License, version 2.0] (http://www.apache.org/licenses/LICENSE-2.0).