Win32 API 日本語リファレンス
ホームNetworking.HttpServer › HTTP_REQUEST_AUTH_TYPE

HTTP_REQUEST_AUTH_TYPE

列挙型
基底型i4

メンバー 6

名前10進16進説明
HttpRequestAuthTypeNone00x0この要求に対して認証は試行されません。
HttpRequestAuthTypeBasic10x1この要求に対して Basic 認証が試行されます。
HttpRequestAuthTypeDigest20x2この要求に対して Digest 認証が試行されます。
HttpRequestAuthTypeNTLM30x3この要求に対して NTLM 認証が試行されます。
HttpRequestAuthTypeNegotiate40x4この要求に対して Negotiate 認証が試行されます。
HttpRequestAuthTypeKerberos50x5この要求に対して Kerberos 認証が試行されます。

公式ドキュメント

HTTP_REQUEST_AUTH_TYPE 列挙型は、HTTP Server API がサポートする認証の種類を定義します。

この列挙型は HTTP_REQUEST_AUTH_INFO 構造体で使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum HTTP_REQUEST_AUTH_TYPE : int {
    HttpRequestAuthTypeNone = 0,
    HttpRequestAuthTypeBasic = 1,
    HttpRequestAuthTypeDigest = 2,
    HttpRequestAuthTypeNTLM = 3,
    HttpRequestAuthTypeNegotiate = 4,
    HttpRequestAuthTypeKerberos = 5
} HTTP_REQUEST_AUTH_TYPE;
public enum HTTP_REQUEST_AUTH_TYPE : int
{
    HttpRequestAuthTypeNone = 0,
    HttpRequestAuthTypeBasic = 1,
    HttpRequestAuthTypeDigest = 2,
    HttpRequestAuthTypeNTLM = 3,
    HttpRequestAuthTypeNegotiate = 4,
    HttpRequestAuthTypeKerberos = 5,
}
Public Enum HTTP_REQUEST_AUTH_TYPE As Integer
    HttpRequestAuthTypeNone = 0
    HttpRequestAuthTypeBasic = 1
    HttpRequestAuthTypeDigest = 2
    HttpRequestAuthTypeNTLM = 3
    HttpRequestAuthTypeNegotiate = 4
    HttpRequestAuthTypeKerberos = 5
End Enum
import enum

class HTTP_REQUEST_AUTH_TYPE(enum.IntEnum):
    HttpRequestAuthTypeNone = 0
    HttpRequestAuthTypeBasic = 1
    HttpRequestAuthTypeDigest = 2
    HttpRequestAuthTypeNTLM = 3
    HttpRequestAuthTypeNegotiate = 4
    HttpRequestAuthTypeKerberos = 5
// HTTP_REQUEST_AUTH_TYPE
pub const HttpRequestAuthTypeNone: i32 = 0;
pub const HttpRequestAuthTypeBasic: i32 = 1;
pub const HttpRequestAuthTypeDigest: i32 = 2;
pub const HttpRequestAuthTypeNTLM: i32 = 3;
pub const HttpRequestAuthTypeNegotiate: i32 = 4;
pub const HttpRequestAuthTypeKerberos: i32 = 5;
// HTTP_REQUEST_AUTH_TYPE
const (
	HttpRequestAuthTypeNone int32 = 0
	HttpRequestAuthTypeBasic int32 = 1
	HttpRequestAuthTypeDigest int32 = 2
	HttpRequestAuthTypeNTLM int32 = 3
	HttpRequestAuthTypeNegotiate int32 = 4
	HttpRequestAuthTypeKerberos int32 = 5
)
const
  HttpRequestAuthTypeNone = 0;
  HttpRequestAuthTypeBasic = 1;
  HttpRequestAuthTypeDigest = 2;
  HttpRequestAuthTypeNTLM = 3;
  HttpRequestAuthTypeNegotiate = 4;
  HttpRequestAuthTypeKerberos = 5;
// HTTP_REQUEST_AUTH_TYPE
pub const HttpRequestAuthTypeNone: i32 = 0;
pub const HttpRequestAuthTypeBasic: i32 = 1;
pub const HttpRequestAuthTypeDigest: i32 = 2;
pub const HttpRequestAuthTypeNTLM: i32 = 3;
pub const HttpRequestAuthTypeNegotiate: i32 = 4;
pub const HttpRequestAuthTypeKerberos: i32 = 5;
const
  HttpRequestAuthTypeNone* = 0
  HttpRequestAuthTypeBasic* = 1
  HttpRequestAuthTypeDigest* = 2
  HttpRequestAuthTypeNTLM* = 3
  HttpRequestAuthTypeNegotiate* = 4
  HttpRequestAuthTypeKerberos* = 5
enum HTTP_REQUEST_AUTH_TYPE : int {
    HttpRequestAuthTypeNone = 0,
    HttpRequestAuthTypeBasic = 1,
    HttpRequestAuthTypeDigest = 2,
    HttpRequestAuthTypeNTLM = 3,
    HttpRequestAuthTypeNegotiate = 4,
    HttpRequestAuthTypeKerberos = 5,
}
#define global HttpRequestAuthTypeNone      0x0
#define global HttpRequestAuthTypeBasic     0x1
#define global HttpRequestAuthTypeDigest    0x2
#define global HttpRequestAuthTypeNTLM      0x3
#define global HttpRequestAuthTypeNegotiate 0x4
#define global HttpRequestAuthTypeKerberos  0x5