Follow the steps in the following process when you develop an app.
No. |
Step |
Description |
|---|---|---|
1 |
Create a web app |
Create a web app and configure its information such as the redirection URL in AppGallery Connect. |
2 |
Obtain the access token |
Obtain the access token after your app integrated with Account Kit is authorized by the user. |
3 |
(Optional) Call Huawei APIs |
Call Huawei APIs and resources with the access token. |
4 |
(Optional) Refresh the access token |
Use the refresh token to obtain a new access token. |
5 |
(Optional) Cancel an authorization |
Cancel an authorization using the access token. |