Skip to main content

helper to access the authentication layer for my personal server.

Project description

square_authentication_helper

about

helper to access the authentication layer for my personal server.

installation

pip install square_authentication_helper

usage

reference python file

env

  • python>=3.12.0

changelog

v2.2.0

  • add validate_and_get_payload_from_token_v0.

v2.1.0

  • login_username_v0 now uses post method and has new optional flag assign_app_id_if_missing that defaults to false.
  • use make_request_json_output to call api endpoints.

v2.0.0

  • add functions for
    • update_username_v0
    • update_password_v0
    • delete_user_v0
  • move data in password related endpoints to request body from params.
  • new optional param, app_id in register_username_v0.
  • generate_access_token_v0 now only needs refresh token.
  • logout_v0 now only needs refresh token.
  • update_user_app_ids_v0 now only updates ids for self (user). added access token as input param and removed user_id.
  • get_user_app_ids_v0 is now get_user_details_v0 with access token as the only input param.

v1.0.0

  • initial implementation.

Feedback is appreciated. Thank you!

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

square_authentication_helper-2.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

square_authentication_helper-2.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file square_authentication_helper-2.2.0.tar.gz.

File metadata

File hashes

Hashes for square_authentication_helper-2.2.0.tar.gz
Algorithm Hash digest
SHA256 12c26342e02c903cd175209db88745b9c0f197000cda43dea147d8b4a9d9bf4e
MD5 8a690386adba79dc473bdd3cba91f102
BLAKE2b-256 fe61c8b907177c1ab50b999a4fcc06dacf39e9bdde25ba55daa479dc8efc157f

See more details on using hashes here.

File details

Details for the file square_authentication_helper-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for square_authentication_helper-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18104d1c2b9659a3f9cd550f0edf99226ea00cc777e9efe17c8e1c955c625757
MD5 e59d4720e22748553618ef06f37107f8
BLAKE2b-256 4ec42e8b6360399b6485c1ceb88b007a4a2a94c507f449df48b538b81d622f33

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