Mercurial > openid
comparison tests/utest.ur @ 58:9f392276d614
Graceful handling of OpenID providers that log the user in as the wrong identifier
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 09 Aug 2011 09:53:40 -0400 |
parents | df258dbf4739 |
children | 089ad1d33e2f |
comparison
equal
deleted
inserted
replaced
57:748dd8a2e3a2 | 58:9f392276d614 |
---|---|
6 val sessionLifetime = 3600 | 6 val sessionLifetime = 3600 |
7 val afterLogout = bless "/main" | 7 val afterLogout = bless "/main" |
8 val secureCookies = False | 8 val secureCookies = False |
9 val association = Openid.Stateful {AssociationType = Openid.HMAC_SHA256, | 9 val association = Openid.Stateful {AssociationType = Openid.HMAC_SHA256, |
10 AssociationSessionType = Openid.NoEncryption} | 10 AssociationSessionType = Openid.NoEncryption} |
11 val realm = None | 11 val realm = Some "http://localhost:8080/" |
12 | 12 |
13 val creationState = | 13 val creationState = |
14 n <- source ""; | 14 n <- source ""; |
15 return {Nam = n} | 15 return {Nam = n} |
16 | 16 |