{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"ApplyRuleInfo":{"description":"认证应用对象信息,为null时代表对所有应用对象生效。","properties":{"rule":{"description":"认证应用对象。\n- INTERNET:互联网接入,rule_type为ACCESS_MODE时可选该值\n- PRIVATE:专线接入,rule_type为ACCESS_MODE时可选该值","maxLength":255,"minLength":0,"type":"string"},"rule_type":{"description":"认证应用对象类型。\n- ACCESS_MODE:接入类型","maxLength":255,"minLength":0,"type":"string"}}},"AuthServerAccessMode":{"description":"辅助认证服务接入模式\nINTERNET:互联网接入\nDEDICATED:专线接入\nSYSTEM_DEFAULT:系统默认","enum":["INTERNET","DEDICATED","SYSTEM_DEFAULT"],"type":"string"},"BaseResponse":{"description":"API响应基类","properties":{"error_code":{"description":"错误码。","maxLength":12,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":1000,"minLength":0,"type":"string"}}},"OtpConfigInfo":{"description":"OTP辅助认证方式配置","properties":{"app_id":{"description":"认证服务接入账号","maxLength":24,"minLength":0,"type":"string"},"app_secret":{"description":"认证服务接入密码","maxLength":128,"minLength":0,"type":"string","x-isSensitive":true},"apply_rule":{"$ref":"#/definitions/ApplyRuleInfo"},"auth_server_access_mode":{"$ref":"#/definitions/AuthServerAccessMode"},"auth_url":{"description":"辅助认证服务器地址","maxLength":255,"minLength":0,"type":"string"},"cert_content":{"description":"pem格式证书内容","maxLength":8192,"minLength":0,"type":"string","x-isSensitive":true},"enable":{"description":"是否启用","type":"boolean"},"receive_mode":{"$ref":"#/definitions/ReceiveModeEnum"}}},"QueryAssistAuthMethodRsp":{"description":"查询辅助认证方式响应","properties":{"otp_config_info":{"$ref":"#/definitions/OtpConfigInfo"}}},"ReceiveModeEnum":{"description":"验证码接收模式\nVMFA:虚拟MFA设备\nHMFA:硬件MFA设备","enum":["VMFA","HMFA"],"type":"string"}},"description":null,"group_id":"7383c32d5d5e4d0481c071faeb994404","host":"workspace.cn-north-4.myhuaweicloud.com","id":"83f8f8ba26994c658360d45fc94fb765","info_version":"v2","method":"get","name":"ShowAssistAuthConfig","parameters":{},"paths":{"/v2/{project_id}/assist-auth-config/method-config":{"get":{"consumes":["application/json"],"description":"查询辅助认证的配置信息","operationId":"ShowAssistAuthConfig","parameters":[{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":40000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX..."},{"description":"发送的实体的MIME类型","in":"header","maxLength":255,"minLength":1,"name":"Content-Type","required":true,"type":"string","x-example":"application/json"},{"description":"项目ID。","in":"path","maxLength":255,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"}],"produces":["application/json"],"responses":{"200":{"description":"查询辅助认证登录方式响应","examples":{"application/json":{"otp_config_info":{"enable":true,"receive_mode":"VMFA"}}},"schema":{"$ref":"#/definitions/QueryAssistAuthMethodRsp"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResponse"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/BaseResponse"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/BaseResponse"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/BaseResponse"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/BaseResponse"}}},"schemes":["https"],"summary":"查询辅助认证配置","tags":["AuthConfig"],"x-apiexplorer-hide":"N","x-apig-group":"internal_token,public","x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-url-1":"GET /v2/29dfe82ada564ac2b927e1ff036d9a9b/assist-auth-config/method-config","x-support-sdk":"Y"}}},"product_short":"Workspace","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询辅助认证配置","tags":"认证配置","uri":null,"version":"2.0"}