Click to open or copy the files for the EAP sample.
This sample is a demonstration of using the RAS Extensible Authentication Protocol.
Here is an diagram of the EAP sample protocol:
AUTHENTICATOR AUTHENTICATEE
Step 1:
"Send Password"
---------------------->
EAP Request
Step 2:
<password>
<----------------------
EAP Response
Step 3:
---------------------->
Success/Failure
This sample uses the following keywords:
authenticateuser; cmakemessage; copymemory; disablethreadlibrarycalls; eapbegin; eapend; eapmakemessage; getlasterror; getpasswordfromresponse; hosttowireformat16; localalloc; localfree; makerequestmessage; makeresponsemessage; makeresultmessage; raseapdllentry; smakemessage; strcpy; switch; wiretohostformat16; zeromemory