Index of the authorize module
-
m
authkit.authorize
...
- Please update your code to use authkit.authorize.wsgi_adaptors instead of this
module.
-
m
wsgi_adaptors
...
- Authorization objects for checking permissions
-
C
NotAuthorizedError
...
- Raised when a permission check fails because the user is not authorized.
-
C
PermissionSetupError
...
-
C
NonConformingPermissionError
...
- Raised when a custom permission object is not behaving in a compliant way
-
C
PermissionError
...
- Base class from which NotAuthenticatedError and NotAuthorizedError
are inherited.
-
C
NotAuthenticatedError
...
- Raised when a permission check fails because the user is not authenticated.
-
f
authorize
...
- This is an authorize decorator (requires Python 2.4) which can be used
to decorate a function. It takes the permission to check as its only
argument.
-
f
middleware
...
- Returns an WSGI app wrapped in authorization middleware and on each request
will check the permission specified.
-
f
authorized
...
-
f
authorize_request
...
- This function can be used within a controller action to ensure that no code
after the function call is executed if the user doesn't pass the permission
check specified by permission.
-
m
pylons_adaptors
...
- Pylons specific code to facilitate using AuthKit with Pylons
-
a
request
...
-
f
authorize
...
- This is a decorator which can be used to decorate a Pylons controller action.
It takes the permission to check as the only argument and can be used with
all types of permission objects.
-
f
authorized
...
- Similar to the authorize_request() function with no access to the
request but rather than raising an exception to stop the request if a
permission check fails, this function simply returns False so that you
can test permissions in your code without triggering a sign in. It can
therefore be used in a controller action or template.
-
f
authorize_request
...
- This function can be used within a controller action to ensure that no code
after the function call is executed if the user doesn't pass the permission
check specified by permission.