Skip to content

Make session token reusable#36

Merged
tchellomello merged 3 commits into
devfrom
token
Mar 31, 2017
Merged

Make session token reusable#36
tchellomello merged 3 commits into
devfrom
token

Conversation

@tchellomello

@tchellomello tchellomello commented Mar 30, 2017

Copy link
Copy Markdown
Member

Make session token reusable across multiple object instances via cache file.

With this patch, we can have more than one Ring object pointing to the same cache file
to share credentials to avoid multiple authentications.

If a different account is being informed, the cache file is regenerated.

This fix some issues of Ring accounts being disabled due to multiple auths.

…e file.

With this patch, we can have more than one Ring object pointing to the same cache file
to share credentials to avoid multiple authentications.
@tchellomello tchellomello added bug Label for issues that report a bug enhancement labels Mar 30, 2017
@tchellomello tchellomello added this to the v.1.1.3 milestone Mar 30, 2017
@coveralls

coveralls commented Mar 30, 2017

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-10.07%) to 77.027% when pulling fb8a9f4 on token into b6d1d79 on dev.

@coveralls

coveralls commented Mar 30, 2017

Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.09%) to 89.189% when pulling 226dfe2 on token into b6d1d79 on dev.

@coveralls

coveralls commented Mar 31, 2017

Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.5%) to 89.61% when pulling 07ba106 on token into b6d1d79 on dev.

@tchellomello tchellomello merged commit e033f9f into dev Mar 31, 2017
@tchellomello tchellomello deleted the token branch March 31, 2017 06:36
tchellomello added a commit that referenced this pull request Mar 31, 2017
* Bump version to 0.1.3 dev

* Make session token reusable (#36)

* Make session token reusable across multiple object instances via cache file.
With this patch, we can have more than one Ring object pointing to the same cache file
to share credentials to avoid multiple authentications.

* Added unittest for utils.py

* Make sure if a different username is used, a new cache should be initialized.

* Added Python 3.6
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Label for issues that report a bug enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants