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_utils-0.2.6.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_utils-0.2.6-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file alfinx_utils-0.2.6.tar.gz.

File metadata

  • Download URL: alfinx_utils-0.2.6.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_utils-0.2.6.tar.gz
Algorithm Hash digest
SHA256 29d1d28f73934936af1d0bbb4ace0c1fcb73e508f5b9b7101d44a7eea5c27f7b
MD5 ca096050d2f015186017a8e2fa79439a
BLAKE2b-256 f753d5f9c6086f6d37e0721dd3bad6774d16b1ab74626391bd808796afb7aeec

See more details on using hashes here.

File details

Details for the file alfinx_utils-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: alfinx_utils-0.2.6-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_utils-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b2165e2dcc12d192090a16f19b878be665f71e61c67e59c8da89a59b98c53e
MD5 542628872834e4110a51502dc68e8c97
BLAKE2b-256 21da355143bcbc268f8b28d746e395394d9fe1fb4d06d667e960eee7a98f98de

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