├── .coveragerc_dj22 ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── discussion.md │ └── feature_request.md ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── ci └── azure-pipelines.yml ├── docs ├── guide.md ├── index.md ├── security.md └── upgrade │ ├── 1.0.md │ ├── 1.4.md │ ├── 2.0.md │ └── 3.0.md ├── mkdocs.yml ├── pyproject.toml ├── requirements.txt ├── setup.cfg ├── setup.py ├── src └── rest_framework_api_key │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── crypto.py │ ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20190529_2243.py │ ├── 0003_auto_20190623_1952.py │ ├── 0004_prefix_hashed_key.py │ ├── 0005_auto_20220110_1102.py │ └── __init__.py │ ├── models.py │ ├── permissions.py │ └── py.typed ├── test_project ├── README.md ├── __init__.py ├── heroes │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_prefix_hashed_key.py │ │ ├── 0003_alter_hero_id.py │ │ ├── 0004_auto_20220110_1102.py │ │ └── __init__.py │ ├── models.py │ └── permissions.py ├── manage.py └── project │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ ├── views.py │ └── wsgi.py ├── tests ├── __init__.py ├── conftest.py ├── dateutils.py ├── test_admin.py ├── test_checks.py ├── test_compatibility.py ├── test_hashers.py ├── test_legacy_key_generator.py ├── test_migrations.py ├── test_model.py ├── test_permissions.py ├── test_permissions_combination.py ├── test_permissions_custom.py └── test_test_project.py └── tools ├── install_django.sh └── makemigrations.py /.coveragerc_dj22: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/.coveragerc_dj22 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/discussion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/.github/ISSUE_TEMPLATE/discussion.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/README.md -------------------------------------------------------------------------------- /ci/azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/ci/azure-pipelines.yml -------------------------------------------------------------------------------- /docs/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/guide.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/security.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/security.md -------------------------------------------------------------------------------- /docs/upgrade/1.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/upgrade/1.0.md -------------------------------------------------------------------------------- /docs/upgrade/1.4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/upgrade/1.4.md -------------------------------------------------------------------------------- /docs/upgrade/2.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/upgrade/2.0.md -------------------------------------------------------------------------------- /docs/upgrade/3.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/docs/upgrade/3.0.md -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/setup.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/__init__.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/admin.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/apps.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/crypto.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/migrations/0001_initial.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/0002_auto_20190529_2243.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/migrations/0002_auto_20190529_2243.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/0003_auto_20190623_1952.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/migrations/0003_auto_20190623_1952.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/0004_prefix_hashed_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/migrations/0004_prefix_hashed_key.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/0005_auto_20220110_1102.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/migrations/0005_auto_20220110_1102.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rest_framework_api_key/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/models.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/src/rest_framework_api_key/permissions.py -------------------------------------------------------------------------------- /src/rest_framework_api_key/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/README.md -------------------------------------------------------------------------------- /test_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/heroes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/heroes/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/admin.py -------------------------------------------------------------------------------- /test_project/heroes/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/apps.py -------------------------------------------------------------------------------- /test_project/heroes/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/migrations/0001_initial.py -------------------------------------------------------------------------------- /test_project/heroes/migrations/0002_prefix_hashed_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/migrations/0002_prefix_hashed_key.py -------------------------------------------------------------------------------- /test_project/heroes/migrations/0003_alter_hero_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/migrations/0003_alter_hero_id.py -------------------------------------------------------------------------------- /test_project/heroes/migrations/0004_auto_20220110_1102.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/migrations/0004_auto_20220110_1102.py -------------------------------------------------------------------------------- /test_project/heroes/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/heroes/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/models.py -------------------------------------------------------------------------------- /test_project/heroes/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/heroes/permissions.py -------------------------------------------------------------------------------- /test_project/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/manage.py -------------------------------------------------------------------------------- /test_project/project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/project/settings.py -------------------------------------------------------------------------------- /test_project/project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/project/urls.py -------------------------------------------------------------------------------- /test_project/project/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/project/views.py -------------------------------------------------------------------------------- /test_project/project/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/test_project/project/wsgi.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/dateutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/dateutils.py -------------------------------------------------------------------------------- /tests/test_admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_admin.py -------------------------------------------------------------------------------- /tests/test_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_checks.py -------------------------------------------------------------------------------- /tests/test_compatibility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_compatibility.py -------------------------------------------------------------------------------- /tests/test_hashers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_hashers.py -------------------------------------------------------------------------------- /tests/test_legacy_key_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_legacy_key_generator.py -------------------------------------------------------------------------------- /tests/test_migrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_migrations.py -------------------------------------------------------------------------------- /tests/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_model.py -------------------------------------------------------------------------------- /tests/test_permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_permissions.py -------------------------------------------------------------------------------- /tests/test_permissions_combination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_permissions_combination.py -------------------------------------------------------------------------------- /tests/test_permissions_custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_permissions_custom.py -------------------------------------------------------------------------------- /tests/test_test_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tests/test_test_project.py -------------------------------------------------------------------------------- /tools/install_django.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tools/install_django.sh -------------------------------------------------------------------------------- /tools/makemigrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florimondmanca/djangorestframework-api-key/HEAD/tools/makemigrations.py --------------------------------------------------------------------------------