A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/verifications/providers

为指定验证通道(OCR/核验/活体)创建身份验证提供方配置,包含优先级和JSON配置项。配置后可被服务用于选择验证服务提供商

验证服务 `bearerAuth` application/json

Request Body

Schema: gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.CreateProviderConfigRequest

FieldTypeRequiredExampleConstraintsDescription
channel string Yes enum: `ocr`, `verification`, `liveness`
config string Yes
provider string Yes
priority integer No

Responses

StatusDescriptionSchema
201配置创建成功dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_ProviderConfigResponse
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
403权限不足dto.SimpleResponse
404资源不存在dto.SimpleResponse
500服务内部错误dto.SimpleResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.ProviderConfigResponse No
message string No
timestamp string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
app_id string No
channel string No
created_at string No
id string No
is_active boolean No
priority integer No
provider string No
tenant_id string No
updated_at string No