sipxtacklib  Version 3.3
SipLineCredentials.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 
12 
13 #if !defined(AFX_SIPLINECREDENTIALS_H__8B43463B_8F7F_426B_94F5_B60164A76DF3__INCLUDED_)
14 #define AFX_SIPLINECREDENTIALS_H__8B43463B_8F7F_426B_94F5_B60164A76DF3__INCLUDED_
15 
16 
17 #include <net/Url.h>
18 #include <net/HttpMessage.h>
19 
20 class SipLineCredentials : public UtlString
21 {
22 public:
23 
24  SipLineCredentials(const UtlString realm,
25  const UtlString userId,
26  const UtlString passwordToken,
27  const UtlString type);
28 
29  virtual ~SipLineCredentials();
30  void getRealm(UtlString* realm);
31  void getUserId(UtlString* UserId);
32  void getPasswordToken(UtlString* passToken);
33  void getType(UtlString* type);
34 
35 private:
36 
37  UtlString mType;
38  UtlString mPasswordToken;
39  UtlString mUserId;
40  UtlString mRealm;
41 
42 };
43 
44 #endif // !defined(AFX_SIPLINECREDENTIALS_H__8B43463B_8F7F_426B_94F5_B60164A76DF3__INCLUDED_)
void getRealm(UtlString *realm)
Definition: SipLineCredentials.cpp:40
Definition: SipLineCredentials.h:20
virtual ~SipLineCredentials()
Definition: SipLineCredentials.cpp:35
void getPasswordToken(UtlString *passToken)
Definition: SipLineCredentials.cpp:53
void getUserId(UtlString *UserId)
Definition: SipLineCredentials.cpp:47
void getType(UtlString *type)
Definition: SipLineCredentials.cpp:58
SipLineCredentials(const UtlString realm, const UtlString userId, const UtlString passwordToken, const UtlString type)
Definition: SipLineCredentials.cpp:22

sipXtackLib home page