Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Development Integration
  • Single Sign-On (SSO)
  • Login component

  • JavaScript/Node.js

  • Java / Kotlin

  • Python

  • C#

  • PHP

  • Go

  • Ruby
  • Android

    • Quick start
    • Hosting page
    • APIs

      • Authentication
      • OIDC
      • MFA
      • Scan to login
      • Device management
      • Event subscription
    • Third-party identity source

    • Scenario

    • On-premise
    • Android Guard Change log
    • Error code
  • iOS

  • Flutter

  • React Native
  • WeChat Mini Program
  • WeChat webpage authorization
  • Framework Integration
  • Error code
  1. Development Integration
  2. /
  3. Android
  4. /
  5. APIs
  6. /
  7. Device management

¶ Device management API

Update Time: 2026-03-25 09:13:34
Edit

¶ Reporting device

public static void createDevice(DeviceInfo deviceInfo, @NotNull AuthCallback<JSONObject> callback)

Parameter

  • deviceInfo device infomation

Example

DeviceInfo deviceInfo = new DeviceInfo();
deviceInfo.setDeviceUniqueId("");
deviceInfo.setName("");
deviceInfo.setVersion("Android 13");
deviceInfo.setHks("");
deviceInfo.setFde("");
deviceInfo.setHor("");
deviceInfo.setType("Mobile");
deviceInfo.setProducer("");
deviceInfo.setMod("");
deviceInfo.setOs("Android");
deviceInfo.setSn("");
deviceInfo.setImei("");
deviceInfo.setMeid("");
deviceInfo.setDescription("");
AuthClient.createDevice(deviceInfo, (AuthCallback<JSONObject>) (code, message, data) -> {
    if (code == 200 && data != null) {
        // success
    }
});

¶ Get device information

public void deviceList(int page, int limit, DeviceStatus deviceStatus, String os, String keyword, @NotNull AuthCallback<ArrayList<DeviceData>> callback) 

Parameter

  • page page
  • limit limit
  • deviceStatus device status
  • os os
  • keyword

Example

AuthClient.deviceList(1, 50, null, "Android", "", (AuthCallback<JSONObject>) (code, message, data) -> {
    if (code == 200 && data != null) {
        // success
    }
});

¶ Off-line device

public static void logoutByDeviceId(String deviceId, @NotNull AuthCallback<JSONObject> callback)

Parameter

  • deviceId device ID

Example

AuthClient.logoutByDeviceId("", (AuthCallback<JSONObject>) (code, message, data) -> {
    if (code == 200 && data != null) {
        // success
    }
});

¶ Remove device

public static void removeDevice(String deviceId, @NotNull AuthCallback<JSONObject> callback)

Parameter

  • deviceId device ID

Example

AuthClient.removeDevice("", (AuthCallback<JSONObject>) (code, message, data) -> {
    if (code == 200 && data != null) {
        // success
    }
});
Prev: Scan to login Next: Event subscription
  • Reporting device
  • Get device information
  • Off-line device
  • Remove device

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.