你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FhirServiceCorsConfiguration interface

服务实例的 CORS 配置设置。

属性

allowCredentials

如果允许通过 CORS 使用凭据。

headers

允许通过 CORS 的标头。

maxAge

通过 CORS 允许的最大期限。

methods

允许通过 CORS 使用的方法。

origins

允许通过 CORS 的来源。

属性详细信息

allowCredentials

如果允许通过 CORS 使用凭据。

allowCredentials?: boolean

属性值

boolean

headers

允许通过 CORS 的标头。

headers?: string[]

属性值

string[]

maxAge

通过 CORS 允许的最大期限。

maxAge?: number

属性值

number

methods

允许通过 CORS 使用的方法。

methods?: string[]

属性值

string[]

origins

允许通过 CORS 的来源。

origins?: string[]

属性值

string[]