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

ApiKeyAuthentication interface

ApiKey authentication gives a name and a value that can be included in either the request header or query parameters.

Extends

Properties

in

The location of the authentication key/value pair in the request.

name

The key name of the authentication key/value pair.

type

Polymorphic discriminator, which specifies the different types this object can be

value

The value of the authentication key/value pair.

Property Details

in

The location of the authentication key/value pair in the request.

in: RestAuthLocation

Property Value

name

The key name of the authentication key/value pair.

name: string

Property Value

string

type

Polymorphic discriminator, which specifies the different types this object can be

type: "ApiKey"

Property Value

"ApiKey"

value

The value of the authentication key/value pair.

value: string

Property Value

string