Metadata Configuration - Get
检索 Azure 证明服务的 OpenID 配置数据
检索有关证明服务使用的证明签名密钥的元数据
GET {endpoint}/.well-known/openid-configuration?api-version=2025-06-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
endpoint
|
path | True |
string (uri) |
|
|
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
请求已成功。 |
|
| Other Status Codes |
意外的错误响应。 标头 x-ms-error-code: string |
安全性
OAuth2Auth
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| https://attest.azure.net/.default |
示例
Get OpenID Metadata
示例请求
GET {endpoint}/.well-known/openid-configuration?api-version=2025-06-01
示例响应
{
"claims_supported": [
"is-debuggable",
"sgx-mrsigner",
"sgx-mrenclave",
"product-id",
"svn",
"tee",
"device_id",
"component_0_id",
"expected_components"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"jwks_uri": "https://mytest.attest.azure.net/certs",
"response_types_supported": [
"token",
"none"
],
"revocation_endpoint": "https://mytest.attest.azure.net/revoke"
}
定义
| 名称 | 说明 |
|---|---|
|
Azure. |
错误对象。 |
|
Azure. |
包含错误详细信息的响应。 |
|
Azure. |
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。 |
|
Open |
对 OpenID 元数据说明文档 API 的响应 |
Azure.Core.Foundations.Error
错误对象。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| details |
导致此报告错误的特定错误的详细信息数组。 |
|
| innererror |
包含与当前对象有关错误的更具体信息的对象。 |
|
| message |
string |
错误的人工可读表示形式。 |
| target |
string |
错误的目标。 |
Azure.Core.Foundations.ErrorResponse
包含错误详细信息的响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
Azure.Core.Foundations.InnerError
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| innererror |
内部错误。 |
OpenIDConfigurationResponse
对 OpenID 元数据说明文档 API 的响应
| 名称 | 类型 | 说明 |
|---|---|---|
| claims_supported |
string[] |
OpenID 元数据终结点支持的声明集 |
| id_token_signing_alg_values_supported |
string[] |
支持的签名算法列表 |
| issuer |
string |
颁发者租户基终结点 |
| jwks_uri |
string |
用于检索签名密钥的 URI |
| response_types_supported |
string[] |
OpenID 元数据 API 中支持的类型 |
| revocation_endpoint |
string |
吊销终结点 |