Home --> Documentations --> PJNATH Reference

pj_stun_req_cred_info Struct Reference
[STUN Authentication]

Data Fields

pj_str_t realm
pj_str_t username
pj_str_t nonce
pj_str_t auth_key

Detailed Description

This structure contains the credential information that is found and used to authenticate incoming requests. Application may use this information when generating authentication for the outgoing response.

Field Documentation

Authentication key that was used to authenticate the incoming request. This key is created with pj_stun_create_key(), and it can be used to encode the credential of the outgoing response.

The REALM value found in the incoming request. If short term credential is used, the value will be empty.

The USERNAME value found in the incoming request.

The documentation for this struct was generated from the following file:


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.