English | 中文
Auth Service integrates a client SDK and accesses our cloud service to 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.
XCode 11.0 or later iOS 9 or later
- Check whether you have a HUAWEI ID. If not, register one and pass identity verification.
- Use your account to sign in to AppGallery Connect, create an app, and set Platform to iOS.
- Enable authentication modes. 3.1 Sign in to AppGallery Connect, click My projects, and click a project that you want to enable Auth Service from the project list. 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 for each authentication mode you want to enable. 3.4 Configure information required by each authentication mode by referring to the development guide.
- Download the agconnect-services.plist file from AppGallery Connect, and copy this file to the directory of your Xcode project.
If you have any questions about the sample code, try the following:
- Visit Stack Overflow, submit your questions, and tag them with
appgallery
. Huawei experts will answer your questions. - Go to AppGallery in the HUAWEI Developer Forum and communicate with other developers.
If you encounter any issues when using the sample code, submit your issues or submit a pull request.
The sample code is licensed under the Apache License, version 2.0.