ホーム › System.RemoteManagement › WSManProxyAuthenticationFlags
WSManProxyAuthenticationFlags
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| WSManFlagProxyAuthenticationUseNegotiate | 1 | 0x1 | Negotiate 認証を使用します。クライアントは認証のための要求をサーバーに送信します。Kerberos と NTLM のどちらを使用するかはサーバーが決定します。一般に、ドメイン アカウントの認証には Kerberos が、ローカル コンピューターのアカウントには NTLM が選択されます。ただし、Kerberos や NTLM が選択される特別なケースもあります。ユーザー名は、ドメイン ユーザーの場合は DOMAIN\username の形式で、サーバー コンピューター上のローカル ユーザーの場合は SERVERNAME\username の形式で指定します。 |
| WSManFlagProxyAuthenticationUseBasic | 2 | 0x2 | Basic 認証を使用します。クライアントは、要求メッセージ内で直接送信されるユーザー名とパスワードという形式で資格情報を提示します。 |
| WSManFlagProxyAuthenticationUseDigest | 4 | 0x4 | Digest 認証を使用します。Digest 認証の要求を開始できるのはクライアント コンピューターだけです。クライアントは認証のための要求をサーバーに送信し、サーバーからトークン文字列を受け取ります。次にクライアントは、ユーザー名と、パスワードにトークン文字列を組み合わせた暗号化ハッシュを含めてリソース要求を送信します。Digest 認証は HTTP と HTTPS でサポートされています。 |
公式ドキュメント
プロキシの認証メカニズムを決定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum WSManProxyAuthenticationFlags : int {
WSManFlagProxyAuthenticationUseNegotiate = 1,
WSManFlagProxyAuthenticationUseBasic = 2,
WSManFlagProxyAuthenticationUseDigest = 4
} WSManProxyAuthenticationFlags;public enum WSManProxyAuthenticationFlags : int
{
WSManFlagProxyAuthenticationUseNegotiate = 1,
WSManFlagProxyAuthenticationUseBasic = 2,
WSManFlagProxyAuthenticationUseDigest = 4,
}Public Enum WSManProxyAuthenticationFlags As Integer
WSManFlagProxyAuthenticationUseNegotiate = 1
WSManFlagProxyAuthenticationUseBasic = 2
WSManFlagProxyAuthenticationUseDigest = 4
End Enumimport enum
class WSManProxyAuthenticationFlags(enum.IntEnum):
WSManFlagProxyAuthenticationUseNegotiate = 1
WSManFlagProxyAuthenticationUseBasic = 2
WSManFlagProxyAuthenticationUseDigest = 4// WSManProxyAuthenticationFlags
pub const WSManFlagProxyAuthenticationUseNegotiate: i32 = 1;
pub const WSManFlagProxyAuthenticationUseBasic: i32 = 2;
pub const WSManFlagProxyAuthenticationUseDigest: i32 = 4;// WSManProxyAuthenticationFlags
const (
WSManFlagProxyAuthenticationUseNegotiate int32 = 1
WSManFlagProxyAuthenticationUseBasic int32 = 2
WSManFlagProxyAuthenticationUseDigest int32 = 4
)const
WSManFlagProxyAuthenticationUseNegotiate = 1;
WSManFlagProxyAuthenticationUseBasic = 2;
WSManFlagProxyAuthenticationUseDigest = 4;// WSManProxyAuthenticationFlags
pub const WSManFlagProxyAuthenticationUseNegotiate: i32 = 1;
pub const WSManFlagProxyAuthenticationUseBasic: i32 = 2;
pub const WSManFlagProxyAuthenticationUseDigest: i32 = 4;const
WSManFlagProxyAuthenticationUseNegotiate* = 1
WSManFlagProxyAuthenticationUseBasic* = 2
WSManFlagProxyAuthenticationUseDigest* = 4enum WSManProxyAuthenticationFlags : int {
WSManFlagProxyAuthenticationUseNegotiate = 1,
WSManFlagProxyAuthenticationUseBasic = 2,
WSManFlagProxyAuthenticationUseDigest = 4,
}#define global WSManFlagProxyAuthenticationUseNegotiate 0x1
#define global WSManFlagProxyAuthenticationUseBasic 0x2
#define global WSManFlagProxyAuthenticationUseDigest 0x4