oarepo-tokens
OARepo library generating tokens for upload from command-line utility oarepo-s3-cli
Installation
TBD
Configuration
TBD
API
-
POST /access-tokens/status
Returns status of token sent in auth.header.
-
POST /access-tokens/revoke
Revoke token sent in auth.header.
-
POST /<DRAFT_RECORD_PATH>/create_token
Create new token for upload file to draft record.
-
GET /<DRAFT_RECORD_PATH>/access-tokens
List tokens created for uploading to draft record.
-
DELETE /<DRAFT_RECORD_PATH>/access-tokens/<TOKEN_ID>
Revoke token by token_id.
.. Copyright (C) 2021 CESNET.
OARepo-tokens is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
Changes
Version 0.1.0 (released TBD)
- Initial public release.
Version 0.1.2
- Create_token API call rewrited using oarepo-actions.
Version 0.1.3
- revoke_token impl.
- permissions for create_token action added
- sleeps on calls w. invalid token added
Version 0.1.4
- get_by_uuid returns all; disable token_detail
Version 0.1.5
- pid_type test fixed
Version 0.1.6
- versioning typo fixed
Version 0.1.7
- added permission check on create_token
- fix: used canonical_url instead of url_for
Version 0.1.8
- oarepo-actions added to requires + flask ver.limited
Version 0.1.9
- celery task; cleanup script; fixes;
Version 0.1.10
- fix in tests
Metadata
Release files for oarepo-tokens 0.1.10
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 |
|---|---|---|---|---|
| oarepo-tokens-0.1.10.tar.gz | 14.6 kB | Without provenance | Details for oarepo-tokens-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oarepo_tokens-0.1.10-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for oarepo_tokens-0.1.10-py2.py3-none-any.whl |
Total release size: 40.4 kB
Release files / oarepo-tokens-0.1.10.tar.gz
| Download URL | oarepo-tokens-0.1.10.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37f4481bb55300fa04d2d20142f9e50f75e359e9dfdf0962435f3d7ec4341f99
|
|
BLAKE2b-256 checksum How to use checksums |
d1a401ffe58a5e8c69cf921cc685d6e4cfc846cdf867368768bcc87b005c5398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / oarepo_tokens-0.1.10-py2.py3-none-any.whl
| Download URL | oarepo_tokens-0.1.10-py2.py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
842c0d916949a69bf60061b9fd6c95cbfd6059d5ce3a094c03deb3d3e7420f50
|
|
BLAKE2b-256 checksum How to use checksums |
3981dd8436394177d136bf609186a8134b2091d261928b724a27d551a393194f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for oarepo-tokens 0.1.10
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.