Share via


NewByPeapAuth method of the PS_EapConfiguration class

Creates an Extensible Authentication Protocol (EAP) configuration object that uses the Protected Extensible Authentication Protocol (PEAP) authentication protocol.

Syntax

static uint32 NewByPeapAuth(
  [in]  boolean          Peap,
  [in]  boolean          VerifyServerIdentity,
  [in]  boolean          EnableNap,
  [in]  boolean          FastReconnect,
  [in]  string           TunnledEapAuthMethod,
  [out] EapConfiguration cmdletOutput
);

Parameters

Peap [in]

True to use PEAP as the authentication method; otherwise, false.

VerifyServerIdentity [in]

True to validate the identity of the server when connecting with VPN; otherwise, false. This parameter is used with Protected Extensible Authentication Protocol (PEAP) and EAP Transport Layer Security (EAP-TLS) with tunneled EAP client authentication.

EnableNap [in]

True to enable Network Access Protection (NAP) for PEAP; otherwise, false.

FastReconnect [in]

True to enable fast reconnection in the current configuration for PEAP; otherwise, false.

TunnledEapAuthMethod [in]

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

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