Skip to main content

HTTP headers auto detection tool.

Project description

alfinx_autho is a lightweight Python package designed to simplify authentication in FastAPI applications via HTTP headers. It automatically detects x-api-key and x-service-code headers from incoming requests and sends them, along with environment variables AUTHENTICATION_API_URL and X_SERVICE_ORIGIN_CODE, to an external authentication service for verification.

Installation

To install the package, run the following command:

pip install alfinx_auth

from alfinx_auth import check_authentication

Postman Headers:

x-api-key: (sЙ™nin API aГ§arД±n) x-service-code: (sЙ™nin xidmЙ™t kodun)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alfinx_auth-0.1.9.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alfinx_auth-0.1.9-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file alfinx_auth-0.1.9.tar.gz.

File metadata

  • Download URL: alfinx_auth-0.1.9.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for alfinx_auth-0.1.9.tar.gz
Algorithm Hash digest
SHA256 4e399ddc18914b138b81e499db489185da49507d03ae04c4d7a53e57f77c05f5
MD5 ff343ab33eff7743112146c3b2d9ff82
BLAKE2b-256 e3e90e86507691ba49910a03fe12ca8296c58875d3abf5c4b1b7936c1a144d7a

See more details on using hashes here.

File details

Details for the file alfinx_auth-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: alfinx_auth-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for alfinx_auth-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b8bd3fd7175fde924e61e75e71cd07eb9c0adbe06c4e9556d7ffe7d55de9f0ba
MD5 93e3dbac0f5c9cd82b81caadd0673614
BLAKE2b-256 085a7defb1c84af9ead2715b5b66fdb4698473af9ab8d136a783133492aae8d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page