Compartilhar via


Challenge function

 
Microsoft Office Live Communications Server 2005 with SP1

Challenge

The Challenge function initiates a SIP challenge response (401) for the current request.

void Challenge(void);

Parameters

This function has no parameters.

Return Values

Returns true if challenge is successful; false if it is not.

Remarks

This function always sends a challenge when called. Before calling this function, the script must always check whether sipRequest.Authenticated is set to false.

The SIP challenge response is installation-specific (for example, if Kerberos is the primary authentication model supported by the server, than the challenge will be via Kerberos).

If the current message is not a request, a critical MSPL error is raised.

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.