Auth

Create a Trusted device

Creates a new Trusted device. This functionality available only if two-factor authentication is enabled. You can remind a user device after login and during next login you can pass stored fingerprint for login without two-factor code (only for admins authentication).

post/admin/auth/trusted-devices

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/auth/trusted-devices
  • Auth: HTTP basic

Request body

device_typestring required

Device type

osstring required

Device operation system

namestring required

Device name

device_idstring

Device ID.

fingerprintstring

Device fingerprint.

Example request

{
  "device_type": "mobile",
  "os": "Android",
  "name": "Nexus 5x - Sheduling app",
  "device_id": "goldfish",
  "fingerprint": "google/walleye/walleye:8.1.0/OPM2.171026.006.G1/4820017:user/release-keys"
}

Response

idnumber

Trusted device ID

fingerprintstring

Trusted device fingerprint. You can use this fingerprint for authorize without entering two-factor code.

Example response

{
  "id": 1,
  "fingerprint": "TPc65HBDLrawo+ik78zuQGefv"
}

Changes

No recorded changes to this operation across all 1 revision of this API.