Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXAuthenticationCompletion::CompleteAsyncAuthentication

The CompleteAsyncAuthentication method receives a notification that an asynchronous authentication operation that was initiated by a call to IFWXRadiusAuthenticator::AuthenticateRadiusUser has completed, and receives information associated with the authentication process.

HRESULT CompleteAsyncAuthentication(
  BOOL fSuccess,
  DWORD Win32ErrorCode,
  IFWXAuthenticatedUser* pIFWXAuthenticatedUser,
  UserContextType UserData
);

Parameters

fSuccess
[in] Boolean value that specifies whether the authentication operation completed successfully. If TRUE, the operation succeeded. If FALSE, it failed.
Win32ErrorCode
[in] A Windows error code. This parameter is meaningful only when the fSuccess parameter is set to FALSE, in which case the error code provides the reason for the failure.
pIFWXAuthenticatedUser
[in] Pointer to the IFWXAuthenticatedUser interface representing the user that was successfully authenticated.
UserData
[in] The UserData parameter set in the call to the IFWXRadiusAuthenticator::AuthenticateRadiusUser method, for differentiation between completion notifications.

Return Values

Implementations of this method should handle any run-time error and return S_OK.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXAuthenticationCompletion