aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/Auth.h')
-rwxr-xr-xnxcomp/Auth.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nxcomp/Auth.h b/nxcomp/Auth.h
index c8e960b45..1b77aaab2 100755
--- a/nxcomp/Auth.h
+++ b/nxcomp/Auth.h
@@ -52,6 +52,11 @@ class Auth
realData_ != NULL && dataSize_ != 0);
}
+ int isFake() const
+ {
+ return generatedCookie_;
+ }
+
//
// Method called in the channel class to find if the
// provided cookie matches the fake one. If the data
@@ -107,6 +112,8 @@ class Auth
char *realData_;
int dataSize_;
+
+ int generatedCookie_;
};
#endif /* Auth_H */