summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-11-04 16:07:29 -0500
committerChris McDonough <chrism@plope.com>2012-11-04 16:07:29 -0500
commitfee21a3199d2d6e24e34c1e4bc71dfcfa0e31e64 (patch)
tree2569cc77dd3bcd22748567ba15ee11d641645e2b /docs/tutorials/wiki/authorization.rst
parentdb9fbf0773dc143126589897d9b1f1d98c2dc7b0 (diff)
parentbba64b29653cc49f153baeb62c44b0fa7006d1a9 (diff)
downloadpyramid-fee21a3199d2d6e24e34c1e4bc71dfcfa0e31e64.tar.gz
pyramid-fee21a3199d2d6e24e34c1e4bc71dfcfa0e31e64.tar.bz2
pyramid-fee21a3199d2d6e24e34c1e4bc71dfcfa0e31e64.zip
Merge branch 'fix.695'
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index e2c4637d7..24249945a 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -134,12 +134,12 @@ Now add those policies to the configuration:
(Only the highlighted lines need to be added.)
-We are enabling an ``SHA512AuthTktAuthenticationPolicy``, it is based in an
+We are enabling an ``AuthTktAuthenticationPolicy``, it is based in an
auth ticket that may be included in the request, and an
``ACLAuthorizationPolicy`` that uses an ACL to determine the allow or deny
outcome for a view.
-Note that the :class:`pyramid.authentication.SHA512AuthTktAuthenticationPolicy`
+Note that the :class:`pyramid.authentication.AuthTktAuthenticationPolicy`
constructor accepts two arguments: ``secret`` and ``callback``. ``secret`` is
a string representing an encryption key used by the "authentication ticket"
machinery represented by this policy: it is required. The ``callback`` is the