You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.
In service to sync, timely updates of the account access rights are necessary. This involves verifying the OAuth access_token is present, current, and active by requesting current user profile information.
This is exposed to the rest of the extension internals as a token() method, does the following:
checks for the presence, expiration, and activeness of an access token
refreshes the access token if possible
caches updated access token, expiration time, and profile information
OPTIONAL alerts the rest of the extension of updated account details
returns the access token on success, or throws a AUTH error on failure
Checking the access token involves the following, marking for refresh if any fail:
checks for the presence of a cached access token and expiration time
checks the expiration time for the access token
requests the user's current profile information to confirm the access token is still active
Refreshing the access token involves the following, throwing an AUTH error if any fail:
Checks for the presence of a cached refresh token
makes an OAuth token exchange request using the refresh token
checks the newly acquired token is present, current, and active (as above)
The text was updated successfully, but these errors were encountered:
linuxwolf
changed the title
Implement "light" vs. "full" account signout
Improved updating of account authorization and profile information
Jan 24, 2018
linuxwolf
changed the title
Improved updating of account authorization and profile information
Improved updating of account access and profile information
Jan 24, 2018
linuxwolf
added
the
backlog
We have looked at and understand the issue. Prioritized with alignment to product initiatives.
label
Jan 24, 2018
linuxwolf
changed the title
Improved updating of account access and profile information
Validate and refresh OAuth access tokens to ensure the user can utilize cloud storage
Jan 24, 2018
sandysage
added
the
backlog
We have looked at and understand the issue. Prioritized with alignment to product initiatives.
label
Jan 24, 2018
sandysage
added
to do
and removed
backlog
We have looked at and understand the issue. Prioritized with alignment to product initiatives.
labels
Feb 8, 2018
In service to sync, timely updates of the account access rights are necessary. This involves verifying the OAuth
access_token
is present, current, and active by requesting current user profile information.This is exposed to the rest of the extension internals as a
token()
method, does the following:checks for the presence, expiration, and activeness of an access token
refreshes the access token if possible
caches updated access token, expiration time, and profile information
returns the access token on success, or throws a
AUTH
error on failureChecking the access token involves the following, marking for refresh if any fail:
Refreshing the access token involves the following, throwing an
AUTH
error if any fail:The text was updated successfully, but these errors were encountered: