Skip to main content

klyrek-auth

Authentication flow mapping. Three independent pieces:

  • forms — classifies discovered form endpoints (typically klyrek-crawler's source="crawler-form" entries) as login, register, password-reset, or logout based on the endpoint's URL and field names — no extra requests needed.
  • session — inspects a response's cookies, Authorization header, and redirect chain (including response.history, since klyrek-http follows redirects) to identify session mechanisms: known session-cookie names, JWTs (validated by decoding the header segment, not just counting dots), and OAuth redirects to known providers.
  • gating — probes a list of URLs and tags each as auth-gated (Endpoint.requires_auth) based on a 401/403 response or a redirect that lands on a login-shaped path.
from klyrek_auth.forms import find_auth_forms
from klyrek_auth.gating import probe_auth_gating
from klyrek_auth.session import detect_session_mechanisms

auth_forms = find_auth_forms(crawl_result.endpoints)
mechanisms = detect_session_mechanisms(client.get("https://target.com/"))
gated = probe_auth_gating(client, ["https://target.com/account", "https://target.com/about"])

Metadata

Release files for klyrek-auth 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klyrek-auth 0.1.0
File Size Uploaded Provenance Actions
klyrek_auth-0.1.0.tar.gz 5.7 kB Without provenance Details for klyrek_auth-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klyrek-auth 0.1.0
File Interpreter ABI Platform Actions
klyrek_auth-0.1.0-py3-none-any.whl Python 3 none any Details for klyrek_auth-0.1.0-py3-none-any.whl

Total release size: 11.2 kB

Release files / klyrek_auth-0.1.0.tar.gz

Download URL klyrek_auth-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b0697976f6def206eefbde1920aa5cdc2b26b8fc844cbaffaa40d30ea6fafe3a
BLAKE2b-256 checksum
How to use checksums
4f611816009cc110e54bfa1912bb419d678d629b382bd8a8eae83c2ff871f54a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / klyrek_auth-0.1.0-py3-none-any.whl

Download URL klyrek_auth-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
180370c94a601b7fad2d85fcbfa1b977450311f3d645317a8d40ed94db80f161
BLAKE2b-256 checksum
How to use checksums
7d58e39f10b5e4c83cae9ec424be383ff6569081cb2dd9273571eb0dbb4864e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Security for klyrek-auth 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page