硬件开发工具链平台云服务-用户级Token获取:响应参数

时间:2024-09-13 09:29:56

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

access_token

String

用户级接入token

最小长度:32

最大长度:36

refresh_token

String

用户级刷新token,用于服务端主动刷新用户token

最小长度:32

最大长度:36

scope

String

授权信息范围

最小长度:32

最大长度:36

token_type

String

token类型,固定值“Bearer”,消息头传入token时前缀填入方式

最小长度:32

最大长度:36

expires_in

Integer

token失效时长

状态码: 400

表3 响应Body参数

参数

参数类型

描述

error_code

String

错误码

最小长度:8

最大长度:36

error_msg

String

错误描述

最小长度:2

最大长度:512

support.huaweicloud.com/api-craftartsipdcenter/getOath2Token.html