rebecca.login
INSTALL
$ pip install rebecca.login
USAGE
rebecca.login provides login and logout functions. login requires rebecca.repository.interfaces.IRepository named users.
login returns authenticated headers.
example:
def login_success(self, values):
user_name = values['user_name']
password = values['password']
authenticated = login(self.request, user_name, password)
if not authenticated:
return
headers = security.remember(self.request, authenticated)
response = HTTPFound(self.request.route_url('top'))
response.headerlist.extend(headers)
return response
Changes
0.1 (2013-11-16)
first release
Metadata
Release files for rebecca.login 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rebecca.login-0.1.zip | 5.9 kB | Without provenance | Details for rebecca.login-0.1.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rebecca.login-0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for rebecca.login-0.1-py2.py3-none-any.whl |
Total release size: 10.4 kB
Release files / rebecca.login-0.1.zip
| Download URL | rebecca.login-0.1.zip |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
346e8a6f08a39052fc320e063f8087e275529f749b30d3112c810e359620d0a1
|
|
BLAKE2b-256 checksum How to use checksums |
25f4f687e2373599ce6e91708c8fa629e106743ad159eac23082c19de972d782
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rebecca.login-0.1-py2.py3-none-any.whl
| Download URL | rebecca.login-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
74cbe199096e06ebb0dffed3ebb80b229eef589f1ef55d847e7f290880d2805c
|
|
BLAKE2b-256 checksum How to use checksums |
d55fe6343805b01ea2269a39aeccd67147989fd26e565266e690ff3ec2ed30da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rebecca.login 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.