Panda3D
Loading...
Searching...
No Matches
httpAuthorization.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file httpAuthorization.I
10 * @author drose
11 * @date 2002-10-22
12 */
13
14/**
15 * Returns the realm to which this authorization applies. This is the server-
16 * supplied string that may have meaning to the user, and describes the
17 * general collection of things protected by this password.
18 */
19const std::string &HTTPAuthorization::
20get_realm() const {
21 return _realm;
22}
23
24/**
25 * Returns the set of domain strings on which this authorization applies.
26 * This is the set of URL prefixes for which this authorization should be
27 * used.
28 */
29const vector_string &HTTPAuthorization::
30get_domain() const {
31 return _domain;
32}