次の方法で共有


NewByEapTtlsAuth method of the PS_EapConfiguration class

Creates an Extensible Authentication Protocol (EAP) configuration object that uses the EAP Tunneled Transport Layer Security (EAP-TTLS) secure protocol.

Syntax

static uint32 NewByEapTtlsAuth(
  [in]  boolean          Ttls,
  [in]  boolean          UseWinlogonCredential,
  [in]  string           TunnledNonEapAuthMethod,
  [in]  string           TunnledEapAuthMethod,
  [out] EapConfiguration cmdletOutput
);

Parameters

Ttls [in]

True to use TTLS as the authentication method; false to not use it.

UseWinlogonCredential [in]

True to use EAP-MSCHAPv2 as the authentication method, and to automatically use the Windows logon credentials when connecting; otherwise, false.

TunnledNonEapAuthMethod [in]

The simple EAP-TTLS client authentication methods.

Chap ("Chap")

Challenge Handshake Authentication Protocol (CHAP).

MsChap ("MsChap")

Microsoft Challenge Handshake Authentication Protocol (MSCHAP) version 1.

MsChapv2 ("MsChapv2")

Microsoft Challenge Handshake Authentication Protocol version 2 (MSCHAPv2).

Pap ("Pap")

Password Authentication Protocol (PAP).

TunnledEapAuthMethod [in]

The configuration XML blob for tunneled EAP, EAP-TTLS, or Protected Extensible Authentication Protocol (PEAP) authentication.

cmdletOutput [out]

When this method returns, contains the EapConfiguration object.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

PS_EapConfiguration