The VoipMediaEngine..::.CHALLENGE_AUTHENTICATION type exposes the following members.
Fields
Name | Description | |||
---|---|---|---|---|
Algorithm |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE, this member can be used to
specify the challenge algorithm used when challenging the far end. Currently the media
engine supports Digest authentication using the MD5 algorithm. This member must be set
to CHALLENGE_ALGORITHM_MD5.
| |||
AuthorizationGranted |
If the Operation member is set to AUTHENTICATE_VERIFY_CREDENTIALS, this member is used to
inform the media engine that authorization is being granted to the incoming protocol request.
It should be set to a non zero value only if the VerifyChallengeResponse(UInt32, String, String) API procedure
returns the SipSuccess status.
| |||
ChallengeMode |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE and the application wants
to challenge an incoming request, it can perform WWW authentication or Proxy authentication.
This value must be set to either CHALLENGE_MODE_WWW_AUTHENTICATE or CHALLENGE_MODE_PROXY_AUTHENTICATE.
| |||
ChallengeRealm |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE, this member can be used
to specify the challenge realm for the request.
| |||
ChallengeType |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE, this member can be used to
specify the challenge type the application is requesting of the far end. Currently the media
engine supports Digest authentication using the MD5 algorithm. This member must be set
to CHALLENGE_TYPE_DIGEST.
| |||
ChallengeUserName |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE, this member can be used to
specify the challenge user name for the request.
| |||
ErrorMessage |
If the Operation member is set to AUTHENTICATE_BAD_CREDENTIALS_RECEIVED, this member is used to
inform the application of the possible cause of the error.
| |||
hChallenge |
If the Operation member is set to AUTHENTICATE_VERIFY_CREDENTIALS, this member is used
as the handle to far end authorization information. This handle gets passed as a parameter
to the VerifyChallengeResponse(UInt32, String, String) API procedure when performing challenge
response credential verification.
| |||
MediaEngine |
The instance of the media engine.
| |||
MesageType |
If the Operation member is set to AUTHENTICATE_INCOMING_MESSAGE then this member will
contain the protocol message type that was received. The application can use this
value to determine if it wants to challenge the incoming protocol message.
| |||
Operation |
Identifies the authentication operation to be performed. It will be set to one of the following
values: AUTHENTICATE_INCOMING_MESSAGE, AUTHENTICATE_VERIFY_CREDENTIALS, or AUTHENTICATE_BAD_CREDENTIALS_RECEIVED.
|