All Products
Search
Document Center

Drive and Photo Service:Token

更新時間:Aug 04, 2025
ParameterTypeDescriptionExample
object

The object that is returned after the authentication is complete, including the access token, refresh token, and basic information about the user.

access_tokenstring

The access token.

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

The refresh token.

060e78d36afb4879b51e4264e9541c16
expires_inlong

The validity period of the token.

3600
token_typestring

The type of the token.

  • Only Bearer is supported.
Bearer
user_idstring

The user ID.

DING-xxxxx
user_namestring

The name of the user.

pdsuser
avatarstring

The profile picture of the user.

aliyunpds.com/a.jpg
nick_namestring

The nickname of the user.

pdsuser
default_drive_idstring

The ID of the default space of the user.

1
rolestring

The role of the user.

admin
statusstring

The status of the user.

enabled
expire_timestring

The time when the credential expires.

2019-09-01T06:57:48.813Z
is_first_loginboolean

Indicates whether this is the first logon of the user.

false
device_idstring

The ID of the device that is bound to OAuth 2.0 Device Authorization Grant.

8574ecc3d4904dc095cc49202e74db94
device_namestring

The name of the device that is bound to OAuth 2.0 Device Authorization Grant.

4683C25F
domain_idstring

The domain ID.

bj1