Token

Updated at:

Parameter

Type

Description

Example

object

The object returned after successful authentication, including the access token, refresh token, and basic user information.

access_token

string

The access token.

eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjOWI3YTVhYTA0ZDE0YWUzODY3ZmRjODg2ZmEwMWRhNCIsImN1c3RvbUpzb24iOiJ7XCJjbGllbnRJZFwiOlwiMjVkelgzdmJZcWt0Vnh5WFwiLFwiZG9tYWluSWRcIjpcImJqMjlcIixcInNjb3BlXCI6W1wiRFJJVkUuQUxMXCIsXCJTSEFSRS5BTExcIixcIkZJTEUuQUxMXCIsXCJVU0VSLkFMTFwiLFwiVklFVy5BTExcIixcIlNUT1JBR0UuQUxMXCIsXCJTVE9SQUdFRklMRS5MSVNUXCIsXCJCQVRDSFwiLFwiT0FVVEguQUxMXCIsXCJJTUFHRS5BTExcIixcIklOVklURS5BTExcIixcIkFDQ09VTlQuQUxMXCJdLFwicm9sZVwiOlwidXNlclwiLFwicmVmXCI6XCJodHRwczovL3d3dy5hbGl5dW5kcml2ZS5jb20vXCIsXCJkZXZpY2VfaWRcIjpcImIyODIwNWU1YzU5NzRjY2JiODI3MDNiNjhkYjhjNDUxXCJ9IiwiZXhwIjoxNjQ4NjE0NDkzLCJpYXQiOjE2NDg2MDcyMzN9.d3HVLvv_LFw2QhPrhvjH_kICWQJX9sKKt7NjQEqI_xE2JO_b7D8rPsFTZz93PLvZ7MhCmudTjGImUpd-ehFnI4Go-1S7BGaKaHFILvP-sWy18Wpikowjxx9mSbzBM_cO6D1LI-kyYhXKWHgVdADfVIPniTDA7-ffhUpi7cAebEs

refresh_token

string

The refresh token.

060e78d36afb4879b51e4264e9541c16

expires_in

integer

The token validity period.

3600

token_type

string

The token type.

Bearer

user_id

string

The user ID.

DING-xxxxx

user_name

string

The username.

pdsuser

avatar

string

The profile picture.

aliyunpds.com/a.jpg

nick_name

string

The nickname.

pdsuser

default_drive_id

string

The default drive ID.

1

role

string

The user role.

admin

status

string

The user status.

enabled

expire_time

string

The token expiration time.

2019-09-01T06:57:48.813Z

is_first_login

boolean

Indicates whether this is the first logon.

false

device_id

string

The ID of the device bound through the OAuth device flow.

8574ecc3d4904dc095cc49202e74db94

device_name

string

The name of the device bound through the OAuth device flow.

4683C25F

domain_id

string

The domain ID.

bj1

default_sbox_drive_id

string

The default safe box drive ID.

1

user_data

object

The custom user data.

string

The value corresponding to a single key in the custom user data.

dog

pin_setup

boolean

Indicates whether the user has set a safe box password.

false

need_rp_verify

boolean

Indicates whether the user needs to perform real-person verification.

false

state

string

The temporary permission used to set a password after a successful logon.

klafhjas-asdasd-asd-as-d-asd-asd-asdasd

LinkInfo

The information about the existing logon methods of the current user.