/[resiprocate]/main/reTurn/StunAuth.hxx
ViewVC logotype

Contents of /main/reTurn/StunAuth.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8367 - (show annotations) (download)
Tue Dec 16 18:10:49 2008 UTC (10 years, 10 months ago) by sgodin
File MIME type: text/plain
File size: 2174 byte(s)
-update a bunch of license blocks from Vovida 2.0 to BSD-3 clause that were supposed to have been changed months ago
1 #ifndef STUNAUTH_HXX
2 #define STUNAUTH_HXX
3
4 #include <rutil/Data.hxx>
5
6 namespace reTurn {
7
8 class StunAuth
9 {
10 public:
11 explicit StunAuth(const resip::Data& clientUsername,
12 const resip::Data& clientSharedSecret);
13
14 const resip::Data& getClientUsername() const { return mClientUsername; }
15 const resip::Data& getClientSharedSecret() const { return mClientSharedSecret; }
16
17 private:
18 resip::Data mClientUsername;
19 resip::Data mClientSharedSecret;
20 };
21
22 }
23
24 #endif
25
26
27 /* ====================================================================
28
29 Copyright (c) 2007-2008, Plantronics, Inc.
30 All rights reserved.
31
32 Redistribution and use in source and binary forms, with or without
33 modification, are permitted provided that the following conditions are
34 met:
35
36 1. Redistributions of source code must retain the above copyright
37 notice, this list of conditions and the following disclaimer.
38
39 2. Redistributions in binary form must reproduce the above copyright
40 notice, this list of conditions and the following disclaimer in the
41 documentation and/or other materials provided with the distribution.
42
43 3. Neither the name of Plantronics nor the names of its contributors
44 may be used to endorse or promote products derived from this
45 software without specific prior written permission.
46
47 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
48 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
49 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
50 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
51 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
52 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
53 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
54 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
55 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
56 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
57 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
58
59 ==================================================================== */

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27