Adds capability for Windows + RADIUS authentication.
This PR implements the following features:
Passes $Credential value onto Invoke-WebRequest for Windows authentication, in addition to including in the JSON body.
If initial IIS Windows authentication succeeds but does not return an authentication token, and if radius parameters are specified, submits the username & password, and subsequently the OTP to respond to any radius challenge.
Adds prompt for OTP, after initial RADIUS authentication, if the value of the $OTP parameter is passcode.
Adds condition to throw error if Windows authentication succeeds but does not result in a CyberArk authentication token being returned.
Summary
Adds capability for Windows + RADIUS authentication.
This PR implements the following features:
$Credential
value ontoInvoke-WebRequest
for Windows authentication, in addition to including in the JSON body.$OTP
parameter ispasscode
.Test Plan
Pester tests updated & passing
Closes issues
Closes #245