1 /* 2 3 W3C Sample Code Library libwww Client Side Authentication Challenges 4 and Credentials 5 6 7 ! 8 Client Side Authentication Challenges and Credentials 9 ! 10 */ 11 12 /* 13 ** (c) COPYRIGHT MIT 1995. 14 ** Please first read the full copyright statement in the file COPYRIGH. 15 */ 16 17 /* 18 19 Contains code for parsing challenges and creating credentials for basic and 20 digest authentication schemes. See also the HTAAUtil module for how to handle 21 other authentication schemes. You don't have to use this code at all if you 22 better like to use your own functions for parsing challenges and generating 23 credentials. All functions are implemented as callback functions to the 24 Authentication Manager 25 26 This module is implemented by HTAABrow.c, and it 27 is a part of the W3C Sample Code 28 Library. 29 */ 30 31 #ifndef HTAABROW_H 32 #define HTAABROW_H 33 #include "HTUTree.h" 34 #include "HTNet.h" 35 36 #ifdef __cplusplus 37 extern "C" { 38 #endif 39 40 41 /* 42 . 43 Basic Authentication 44 . 45 46 This is the set of callback functions for handling basic authentication. 47 */ 48 49 extern HTNetBefore HTBasic_generate; 50 extern HTNetAfter HTBasic_parse; 51 extern HTUTree_gc HTBasic_delete; 52 53 /* 54 . 55 Digest Authentication 56 . 57 58 This is the set of callback functions for handling digest authentication. 59 */ 60 61 extern HTNetBefore HTDigest_generate; 62 extern HTNetAfter HTDigest_parse; 63 extern HTNetAfter HTDigest_updateInfo; 64 extern HTUTree_gc HTDigest_delete; 65 66 67 /* 68 */ 69 70 #ifdef __cplusplus 71 } 72 #endif 73 74 #endif /* NOT HTAABROW_H */ 75 76 /* 77 78 79 80 @(#) $Id$ 81 82 */ 83 84 85