/[resiprocate]/main/resip/dum/Profile.hxx
ViewVC logotype

Annotation of /main/resip/dum/Profile.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2502 - (hide annotations) (download)
Sat Apr 3 17:46:58 2004 UTC (15 years, 8 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/Profile.hxx
File size: 937 byte(s)
added guards

1 fluffy 2502 #if !defined(RESIP_PROFILE_HXX)
2     #define RESIP_PROFILE_HXX
3 fluffy 2490
4 fluffy 2502 namespace resip
5     {
6 fluffy 2490
7 fluffy 2486 class Profile
8     {
9 fluffy 2490 public:
10     void setOutboundProxy( const Data& uri );
11 fluffy 2501
12     /// The following functions deal with getting digest credentals
13     //@{
14    
15 fluffy 2490 void addDigestCredential( const Data& realm, const Data& users, const Data& password);
16    
17 fluffy 2501 /** This class is used as a callback to get digest crednetials. The
18     * derived class must define one of computeA1 or getPaswword. computeA1 is
19     * tried first and it it returns an empty string, then getPassword is
20     * tried. */
21 fluffy 2490 class DigestCredentialHandler
22     {
23     public:
24 fluffy 2501 virtual Data computeA1( const Data& realm, const Data& users );
25     virtual Data getPassword( const Data& realm, const Data& users );
26 fluffy 2490 };
27    
28     void setDigestHandler( DigestCredentialHandler* handler );
29 fluffy 2501 //@}
30 fluffy 2490
31     private:
32 fluffy 2486 };
33    
34    
35 fluffy 2502
36     }
37    
38     #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27