Skip to content

some improvements #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

some improvements #3

wants to merge 1 commit into from

Conversation

mkb79
Copy link

@mkb79 mkb79 commented Dec 8, 2019

  • you don't need to register=True when instantiate a
    :class:audible.auth. FileAuthenticator
  • when you use :class:audible.auth. LoginAuthenticator it register
    as device by default
  • once a device is registered and credentials are stored, you don't
    need to use LoginAuthenticator again. If you register you gain a
    adp_token and device_cert for requesting api. adp_token and
    device_cert never expires. You need no check about this. Only access
    token expires after 60 Minutes. But if you use Audible <0.3 you cant
    use access_token for request.

- you don't need to ``register=True`` when instantiate a
:class:`audible.auth. FileAuthenticator `
- when you use :class:`audible.auth. LoginAuthenticator` it register
as device by default
- once a device is registered and credentials are stored, you don't
need to use LoginAuthenticator again. If you register you gain a
adp_token and device_cert for requesting api. adp_token and
device_cert never expires. You need no check about this. Only access
token expires after 60 Minutes. But if you use Audible <0.3 you cant
use access_token for request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant