zope.login

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.login.svg?branch=master https://coveralls.io/repos/github/zopefoundation/zope.login/badge.svg?branch=master Documentation Status

This package provides login helpers for zope.publisher based on the concepts of zope.authentication. This includes support for HTTP password logins and FTP logins.

Documentation is hosted at https://zopelogin.readthedocs.io

API Reference

HTTP Basic Auth

class zope.login.http.BasicAuthAdapter(request)[source]

Bases: zope.authentication.loginpassword.LoginPassword

ILoginPassword adapter for handling HTTP Basic authentication.

Adapts zope.publisher.interfaces.http.IHTTPCredentials into zope.authentication.interfaces.ILoginPassword.

FTP Auth

class zope.login.ftp.FTPAuth(request)[source]

Bases: zope.authentication.loginpassword.LoginPassword

ILoginPassword adapter for handling common FTP authentication.

Adapts zope.publisher.interfaces.ftp.IFTPCredentials into zope.authentication.interfaces.ILoginPassword.

Changes

2.1.1 (unreleased)

  • Nothing changed yet.

2.1.0 (2017-09-01)

2.0.0 (2014-12-24)

  • Add support for PyPy and PyPy3.
  • Add support for Python 3.4.
  • Add support for testing on Travis.
  • Add support for Python 3.3.
  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
  • Drop support for Python 2.4 and 2.5.

1.0.0 (2009-12-31)

  • Extracted BasicAuthAdapter and FTPAuth adapters from zope.publisher. They should have never gone into that package in the first place.

Development

zope.login is hosted at GitHub:

Project URLs

Indices and tables