AuthMechanism Property

The authentication mechanism to be used when connecting to the RADIUS server.

Syntax

ANSI (Cross Platform)
int GetAuthMechanism();
int SetAuthMechanism(int iAuthMechanism); Unicode (Windows) INT GetAuthMechanism();
INT SetAuthMechanism(INT iAuthMechanism);

Possible Values

RAM_MSCHAPV_2(0), 
RAM_PAP(1),
RAM_PEAPV_0(2),
RAM_EAPTLS(3)
@property (nonatomic,readwrite,assign,getter=authMechanism,setter=setAuthMechanism:) int authMechanism;
- (int)authMechanism;
- (void)setAuthMechanism:(int)newAuthMechanism;

Possible Values

RAM_MSCHAPV_2(0), 
RAM_PAP(1),
RAM_PEAPV_0(2),
RAM_EAPTLS(3)
#define PID_RADIUS_AUTHMECHANISM 5

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_RADIUS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_RADIUS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property defines the authentication mechanism used when connecting to the RADIUS server. Possible values are:

0 (ramMSCHAPv2 - default) Microsoft Challenge Authentication Protocol v2
1 (ramPAP) Password Authentication Protocol
2 (ramPEAPv0) Protected Extensible Authentication Protocol with MSCHAPv2 inner authentication
3 (ramEAPTLS) Extensible Authentication Protocol with TLS

When set to ramEAPTLS the SSLCert* properties must be set to the client certificate used to authenticate to the server.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Edition - Version 20.0 [Build 8155]