openmedialibrary_platform/Darwin/lib/python2.7/site-packages/twisted/web/guard.py

18 lines
523 B
Python
Raw Normal View History

2013-10-11 17:28:32 +00:00
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Resource traversal integration with L{twisted.cred} to allow for
authentication and authorization of HTTP requests.
"""
# Expose HTTP authentication classes here.
from twisted.web._auth.wrapper import HTTPAuthSessionWrapper
from twisted.web._auth.basic import BasicCredentialFactory
from twisted.web._auth.digest import DigestCredentialFactory
__all__ = [
"HTTPAuthSessionWrapper",
"BasicCredentialFactory", "DigestCredentialFactory"]