应用身份管理服务 ONEACCESS-获取访问凭据:响应参数

时间:2024-01-18 19:43:28

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

access_token

String

认证凭据,用于调用管理API。

token_type

String

认证凭据类型。固定值:Bearer。

expires_in

Integer

过期时间。单位为秒,默认1800s。

scope

String

获取的Access Token授权访问范围。

id_token

String

授权访问id_token。

状态码: 400

表3 响应Body参数

参数

参数类型

描述

error_code

String

错误编号。

error_msg

String

错误详情。

support.huaweicloud.com/api-oneaccess/ShowAuthToken.html