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.5.2

  • bugfix in update_user_recovery_methods_v0 (json serializer and optional parameters).

v2.5.1

  • bugfix in method for update_profile_details_v0.

v2.5.0

  • delete_user_v0 now uses post method.
  • add update_user_recovery_methods_v0.
  • add generate_account_backup_codes_v0.
  • add reset_password_and_login_using_backup_code_v0.
  • add send_reset_password_email_v0.
  • update parameters for update_password_v0.
  • add validate_email_verification_code_v0.
  • add send_verification_email_v0.
  • add update_profile_details_v0.
  • add reset_password_and_login_using_reset_email_code_v0.
  • add register_login_google_v0.
  • dependencies
    • add square_database_structure>=2.5.7.

v2.4.1

  • make profile_photo in update_profile_photo_v0 optional.

v2.4.0

  • add update_profile_photo_v0.

v2.3.1

  • bump to square_commons>=2.0.0.

v2.3.0

  • add logout_apps_v0 and logout_all_v0.

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.5.2.tar.gz (4.7 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.5.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for square_authentication_helper-2.5.2.tar.gz
Algorithm Hash digest
SHA256 c377ffe4f1fe7507abd6722bd4156fe10b2504bf4f4e2a7f219748845e0182d4
MD5 55fe76c2d536b5fdba1c268e22285e6f
BLAKE2b-256 ab0284fd9cad1787e485174c04e6f20d7b34465b645baa8df89527514cb502f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for square_authentication_helper-2.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c2ebfb3d8a57f9893c49185f4583acbec0727d18dfb8a13242c94cb111ea7fa
MD5 2b391340293e12eae4212a24cf5dbe59
BLAKE2b-256 1e8206b75d8026b375545f81d8c3b3ea346609965c88c61b647915da131fd2aa

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