Changeset 1376 for pjproject/trunk/pjsip/include/pjsip/sip_auth.h
- Timestamp:
- Jun 20, 2007 4:14:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_auth.h
r974 r1376 68 68 * A credential information is a static, persistent information that identifies 69 69 * username and password required to authorize to a specific realm. 70 * 71 * Note that since PJSIP 0.7.0.1, it is possible to make a credential that is 72 * valid for any realms, by setting the realm to star/asterisk character, 73 * i.e. realm = pj_str("*");. 70 74 */ 71 75 struct pjsip_cred_info 72 76 { 73 pj_str_t realm; /**< Realm. */ 74 pj_str_t scheme; /**< Scheme. */ 75 pj_str_t username; /**< User name. */ 76 int data_type; /**< Type of data. */ 77 pj_str_t realm; /**< Realm. Use "*" to make a credential that 78 can be used to authenticate against any 79 challenges. */ 80 pj_str_t scheme; /**< Scheme (e.g. "digest"). */ 81 pj_str_t username; /**< User name. */ 82 int data_type; /**< Type of data (0 for plaintext passwd). */ 77 83 pj_str_t data; /**< The data, which can be a plaintext 78 password or a hashed digest. */84 password or a hashed digest. */ 79 85 }; 80 86
Note: See TracChangeset
for help on using the changeset viewer.