Skip to content

Latest commit

 

History

History

authservice

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

auth-server quickstart

Introduction

Auth Service provides cloud services and the SDK to help you quickly build your system.

Preparing the Environment

Before using the auth server sdk, your server need support Java 8 and higher.

Getting Started

Before running the auth server sdk, you need to:

  1. Enabling Auth Service

  2. Create Your Own Project

  3. Download authentication credential

Please refer to:https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-auth-service-getstarted

Sample Code

  1. Import User Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\ImportDemo.java

  2. Export User Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\ExportDemo.java

  3. Jwt Signature Sample code: src\main\java\com\huawei\agconnect\server\demo\auth\SignDemo.java

License

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