Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove interface ref

  • Loading branch information...
commit e443d09cd15e21891c83c0a889fbfd1508119d31 1 parent 517db0e
@mmerickel mmerickel authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  auth/basic.rst
View
2  auth/basic.rst
@@ -13,7 +13,6 @@ Here's an implementation of an HTTP basic auth Pyramid authentication policy:
from paste.httpheaders import AUTHORIZATION
from paste.httpheaders import WWW_AUTHENTICATE
- from pyramid.interfaces import IAuthenticationPolicy
from pyramid.security import Everyone
from pyramid.security import Authenticated
@@ -54,7 +53,6 @@ Here's an implementation of an HTTP basic auth Pyramid authentication policy:
Default: ``Realm``. The Basic Auth realm string.
"""
- implements(IAuthenticationPolicy)
def __init__(self, check, realm='Realm'):
self.check = check
Please sign in to comment.
Something went wrong with that request. Please try again.