IdentityProviderService · IdentityProviderService_GetIdentityProvider
基于协议生成的参考。授权与实例策略仍然生效。结构描述继承自 MIT 许可的应用接口定义;本站不会向真实服务执行示例。
访问权限
需要已认证账号;返回的 OAuth 配置不包含 clientSecret。
请求
GetIdentityProvider gets an identity provider.
GET
/api/v1/identity-providers/{identity-provider}参数
| 名称 / 位置 | 类型 / 是否必需 | 描述 |
|---|---|---|
identity-providerpath | string 必需 | The identity-provider id. |
请求体
未声明请求体。
响应
200 · OK
application/json · IdentityProvider
default · Default error response
application/json · Status
完整操作定义
下方保留全部已声明约束、媒体类型和响应细节。结构引用链接到完整定义。
展开 JSON 定义
{
"tags": [
"IdentityProviderService"
],
"description": "GetIdentityProvider gets an identity provider.",
"operationId": "IdentityProviderService_GetIdentityProvider",
"parameters": [
{
"name": "identity-provider",
"in": "path",
"description": "The identity-provider id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}