Auth Service provides cloud services and the SDK to help you quickly build your system.
Before using the auth server sdk, your server need support Java 8 and higher.
Before running the auth server sdk, you need to:
-
Enabling Auth Service
-
Create Your Own Project
-
Download authentication credential
Please refer to:https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-auth-service-getstarted
-
Import User Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\ImportDemo.java
-
Export User Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\ExportDemo.java
-
Jwt Signature Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\SignDemo.java
Auth Service Demo is licensed under the [Apache License, version 2.0] (http://www.apache.org/licenses/LICENSE-2.0).