summaryrefslogtreecommitdiff
path: root/pause_openid.pl
diff options
context:
space:
mode:
authorThomas Klausner <domm@cpan.org>2008-12-01 23:05:39 +0100
committerThomas Klausner <domm@cpan.org>2008-12-01 23:05:39 +0100
commitac78f41746caf3d5ff05bc197f55209f3d84225c (patch)
tree9acf853667e45610428d745b8f07f221c860f1a0 /pause_openid.pl
parentMerge branch 'master' of git@git.useperl.at:PAUSE-OpenID (diff)
downloadSimple-OpenID-ac78f41746caf3d5ff05bc197f55209f3d84225c.tar.gz
Simple-OpenID-ac78f41746caf3d5ff05bc197f55209f3d84225c.tar.bz2
Simple-OpenID-ac78f41746caf3d5ff05bc197f55209f3d84225c.zip
added memcached for sessions
Diffstat (limited to 'pause_openid.pl')
-rw-r--r--pause_openid.pl26
1 files changed, 26 insertions, 0 deletions
diff --git a/pause_openid.pl b/pause_openid.pl
new file mode 100644
index 0000000..cd72605
--- /dev/null
+++ b/pause_openid.pl
@@ -0,0 +1,26 @@
+use strict;
+use warnings;
+
+# Returnvalue
+return {
+
+ # Catalyst
+ name => 'PAUSE::OpenID',
+
+ session => {
+ flash_to_stash => 1,
+ expires => 172800, # two days
+ memcached_new_args => {
+ data => [ "10.10.10.108:11211" ],
+ namespace => "pause_openid_session",
+ },
+ },
+
+ # Static::Simple
+ 'static' => {
+ debug => 0,
+ logging => 0,
+ dirs => [qw/static/],
+ },
+
+};