次の方法で共有


ApiKeyAuthentication クラス

定義

ApiKey 認証では、要求ヘッダーまたはクエリ パラメーターに含めることができる名前と値が提供されます。

[Newtonsoft.Json.JsonObject("ApiKey")]
public class ApiKeyAuthentication : Microsoft.Azure.Management.DeploymentManager.Models.RestRequestAuthentication
[<Newtonsoft.Json.JsonObject("ApiKey")>]
type ApiKeyAuthentication = class
    inherit RestRequestAuthentication
Public Class ApiKeyAuthentication
Inherits RestRequestAuthentication
継承
ApiKeyAuthentication
属性
Newtonsoft.Json.JsonObjectAttribute

コンストラクター

ApiKeyAuthentication()

ApiKeyAuthentication クラスの新しいインスタンスを初期化します。

ApiKeyAuthentication(String, RestAuthLocation, String)

ApiKeyAuthentication クラスの新しいインスタンスを初期化します。

プロパティ

InProperty

要求内の認証キーと値のペアの場所を取得または設定します。 使用可能な値は、'Query'、'Header' です。

Name

認証キーと値のペアのキー名を取得または設定します。

Value

認証キーと値のペアの値を取得または設定します。

メソッド

Validate()

オブジェクトを検証します。

適用対象