Skip to main content

The ISPyB Target Access Authenticator Client

Project description

fragalysis-target-access-authenticator-python-client

PyPI - Version

release

A simple Python 3 client to simplify access to the authenticator, providing the following functions: -

def get_auth_target_access(username: str) -> set[str]:
    [...]
def get_auth_version() -> TasAuthVersionGetResponse:
    [...]
def get_auth_ping() -> TasAuthPingGetResponse:
    [...]

The module requires two items, extracted from the environment: -

  • TA_AUTH_SERVICE - The service hostname. In cluster this might be http://auth.ta-authenticator.svc (an internal connection that is expected to comply with http:// protocol)
  • TA_AUTH_QUERY_KEY - A 'secret' key the service expects in request headers.

The authenticator service

See: -


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

xchem_ta_auth_client-1.0.0rc1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

xchem_ta_auth_client-1.0.0rc1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file xchem_ta_auth_client-1.0.0rc1.tar.gz.

File metadata

  • Download URL: xchem_ta_auth_client-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xchem_ta_auth_client-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 9ea3c65e2bbb1c8d28757652a1b4aa220e28e487605ba556ebc22ee1f77c4ba3
MD5 8cf7edeeebdc011f2141891a6e555c41
BLAKE2b-256 c649bfeb8c2e4b9bd4e824f8c1a27c93bd018eadde36c410a541e5a879b1a371

See more details on using hashes here.

Provenance

The following attestation bundles were made for xchem_ta_auth_client-1.0.0rc1.tar.gz:

Publisher: release.yaml on xchem/fragalysis-target-access-authenticator-python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xchem_ta_auth_client-1.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for xchem_ta_auth_client-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 95f90f2feedc5a1a20367e9834580107db6928899177911d5738f6e3f9428e14
MD5 f204a6b32f47c97d80874cd2d5894b41
BLAKE2b-256 91a8aa1515b5c11e9dc81ad26bf991cb8a1d8f9fc7d8f33cebc3585122a8b001

See more details on using hashes here.

Provenance

The following attestation bundles were made for xchem_ta_auth_client-1.0.0rc1-py3-none-any.whl:

Publisher: release.yaml on xchem/fragalysis-target-access-authenticator-python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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