IFWXAuthenticationCompletion::CompleteAsyncAuthentication method

Applies to: desktop apps only

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.

Syntax

HRESULT CompleteAsyncAuthentication(
  [in]  BOOL fSuccess,
  [in]  DWORD Win32ErrorCode,
  [in]  IFWXAuthenticatedUser *pIFWXAuthenticatedUser,
  [in]  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 value

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

See also

IFWXAuthenticationCompletion

 

 

Build date: 7/12/2010