aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AuthorizationResponse.cs
diff options
context:
space:
mode:
authorRob Smart2009-09-11 16:31:05 +0100
committerDiva Canto2009-09-11 09:23:09 -0700
commit44f1092b8301a6cddd5066939029aa5bad256a57 (patch)
tree77780c71a6de434e45bd7989b8d2d191ab6c4686 /OpenSim/Framework/AuthorizationResponse.cs
parentMinor indentation cleanup. (diff)
downloadopensim-SC_OLD-44f1092b8301a6cddd5066939029aa5bad256a57.zip
opensim-SC_OLD-44f1092b8301a6cddd5066939029aa5bad256a57.tar.gz
opensim-SC_OLD-44f1092b8301a6cddd5066939029aa5bad256a57.tar.bz2
opensim-SC_OLD-44f1092b8301a6cddd5066939029aa5bad256a57.tar.xz
moved AuthorizationRequest and AuthorizationResponse to IAuthorizationService to keep service dependencies together.
Diffstat (limited to 'OpenSim/Framework/AuthorizationResponse.cs')
-rw-r--r--OpenSim/Framework/AuthorizationResponse.cs58
1 files changed, 0 insertions, 58 deletions
diff --git a/OpenSim/Framework/AuthorizationResponse.cs b/OpenSim/Framework/AuthorizationResponse.cs
deleted file mode 100644
index c8d77de..0000000
--- a/OpenSim/Framework/AuthorizationResponse.cs
+++ /dev/null
@@ -1,58 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSimulator Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28namespace OpenSim.Framework
29{
30 public class AuthorizationResponse
31 {
32 private bool m_isAuthorized;
33 private string m_message;
34
35 public AuthorizationResponse()
36 {
37 }
38
39 public AuthorizationResponse(bool isAuthorized, string message)
40 {
41 m_isAuthorized = isAuthorized;
42 m_message = message;
43
44 }
45
46 public bool IsAuthorized
47 {
48 get { return m_isAuthorized; }
49 set { m_isAuthorized = value; }
50 }
51
52 public string Message
53 {
54 get { return m_message; }
55 set { m_message = value; }
56 }
57 }
58} \ No newline at end of file