# square_authentication_helper
## about
helper to access the authentication layer for my personal server.
## installation
```shell
pip install square_authentication_helper
```
## usage
[reference python file](./example.py)
## 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!
Raw data
{
"_id": null,
"home_page": "https://github.com/thepmsquare/square_authentication_helper",
"name": "square-authentication-helper",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "thePmSquare",
"author_email": "thepmsquare@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fe/61/c8b907177c1ab50b999a4fcc06dacf39e9bdde25ba55daa479dc8efc157f/square_authentication_helper-2.2.0.tar.gz",
"platform": null,
"description": "# square_authentication_helper\n\n## about\n\nhelper to access the authentication layer for my personal server.\n\n## installation\n\n```shell\npip install square_authentication_helper\n```\n\n## usage\n\n[reference python file](./example.py)\n\n## env\n\n- python>=3.12.0\n\n## changelog\n\n### v2.2.0\n\n- add validate_and_get_payload_from_token_v0.\n\n### v2.1.0\n\n- login_username_v0 now uses post method and has new optional flag assign_app_id_if_missing that defaults to false.\n- use make_request_json_output to call api endpoints.\n\n### v2.0.0\n\n- add functions for\n - update_username_v0\n - update_password_v0\n - delete_user_v0\n- move data in password related endpoints to request body from params.\n- new optional param, app_id in register_username_v0.\n- generate_access_token_v0 now only needs refresh token.\n- logout_v0 now only needs refresh token.\n- update_user_app_ids_v0 now only updates ids for self (user). added access token as input param and removed user_id.\n- get_user_app_ids_v0 is now get_user_details_v0 with access token as the only input param.\n\n### v1.0.0\n\n- initial implementation.\n\n## Feedback is appreciated. Thank you!\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "helper to access the authentication layer for my personal server.",
"version": "2.2.0",
"project_urls": {
"Homepage": "https://github.com/thepmsquare/square_authentication_helper"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4ec42e8b6360399b6485c1ceb88b007a4a2a94c507f449df48b538b81d622f33",
"md5": "e59d4720e22748553618ef06f37107f8",
"sha256": "18104d1c2b9659a3f9cd550f0edf99226ea00cc777e9efe17c8e1c955c625757"
},
"downloads": -1,
"filename": "square_authentication_helper-2.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e59d4720e22748553618ef06f37107f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3632,
"upload_time": "2024-11-24T03:01:52",
"upload_time_iso_8601": "2024-11-24T03:01:52.125583Z",
"url": "https://files.pythonhosted.org/packages/4e/c4/2e8b6360399b6485c1ceb88b007a4a2a94c507f449df48b538b81d622f33/square_authentication_helper-2.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fe61c8b907177c1ab50b999a4fcc06dacf39e9bdde25ba55daa479dc8efc157f",
"md5": "8a690386adba79dc473bdd3cba91f102",
"sha256": "12c26342e02c903cd175209db88745b9c0f197000cda43dea147d8b4a9d9bf4e"
},
"downloads": -1,
"filename": "square_authentication_helper-2.2.0.tar.gz",
"has_sig": false,
"md5_digest": "8a690386adba79dc473bdd3cba91f102",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2778,
"upload_time": "2024-11-24T03:01:53",
"upload_time_iso_8601": "2024-11-24T03:01:53.618722Z",
"url": "https://files.pythonhosted.org/packages/fe/61/c8b907177c1ab50b999a4fcc06dacf39e9bdde25ba55daa479dc8efc157f/square_authentication_helper-2.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-24 03:01:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thepmsquare",
"github_project": "square_authentication_helper",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "square-authentication-helper"
}