Submits a RADIUS request to the Defender Security Server and waits for a response. Typically, the Authenticate method would be invoked in a loop, whereby the current value of challengeMessage is displayed to the user, and the response from the user is supplied as the authData parameter on the next call to the Authenticate method. This would continue until the user chooses to cancel, or until the return code is not 1. If any request takes more than timeout seconds to complete, the method returns code -106.
C++ syntaxpublic : HRESULT Authenticate(BSTR userID, BSTR authData, LONG timeout, BSTR ipAddress, LONG port, BSTR sharedSecret, LONG* returnCode );
C# syntaxint Authenticate(string userID, string authData, int timeout, string ipAddress, int port, string sharedSecret);
Parameters
Return value
Displays the value of the challenge message to the user after each invocation of the Authenticate method.
C++ syntaxpublic : HRESULT get_challengeMessage(BSTR * bstrDefenderMessage);
C# syntaxpublic string challengeMessage { get; }
Holds the session attribute for the current session. Defender handles up to 255 concurrent sessions. This value is for information only and should not be set by the calling program.
C++ syntaxpublic : HRESULT get_sessionID(LONG * sessionID);
C# syntaxpublic int sessionID { get; }
Holds the timeout value for the current session. This value is for information only and should not be set by the calling program. the timeout value is set using the timeout parameter on each call to the Authenticate method.
C++ syntaxpublic : HRESULT get_timeout(LONG timeoutValue);
C# syntaxpublic int timeout { get; }
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center