Skip to content
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

Merge/auth refactor #14

Merged
merged 8 commits into from
Oct 14, 2022
Merged

Merge/auth refactor #14

merged 8 commits into from
Oct 14, 2022

Conversation

tahpot
Copy link
Member

@tahpot tahpot commented Aug 31, 2022

Closes #13

Chris added 8 commits August 29, 2022 13:39
45043b0 Fix typescript issues.
22c8fff Refactor to support authentication retry when access / refresh token expires.
e5266e3 Refactor auth context to be implemented in account instance. Better separation of auth context and client operations.
9ee1101 Move getAuthContext into account. Refactor.
e0cfa70 Support manual injection of contxt name
7825eb2 Merge branch 'main' into feature/181-support-updated-auth-storage-node
ad6e0ba Update context name
1d862cf Fix deprecated substr() reference
160380f Core authJWT refactor complete. Still need edge cases and fixing some tests.
8944eb6 Adding context auth interface
f3e5b20 fix: remove mention -f 3id - Minor change to remove comments of 3id #184
eae5e87 Add more progress
218dff4 Publish
f617004 Update changelog ready for client-ts v1.1.15 release
03b5dea exporting client-ts API as top level exports. Closes #205 (#206)
93917c4 Fix infinite recursion cause of set `undefined` to fallbackContext
a421aa9 Merge branch 'feature/199-support-url-redirection'
2e24844 Populate openUrl in the inboxItem if specified in the outboxEntry
531c551 Feature/185 update create credential jwt (#187)
dcaeb1a Merge pull request #200 from verida/feature/194_add_fallback_context
69279b0 Feature/199 support url redirection (#201)
5cde2e4 Support openUrl when sending a message
06f268e Revert old code
c17d190 Simplify code
3eb56ae Cleanup
ddc4649 - Add an extra param fallbackContext to openPublicProfile method default value to Verida: Vault - Add tests
4a3cbea getMany should return a zero-length array if no docs found
58ba9b1 Include token with user permissions
338738a Support CouchDB token auth for public and encrypted databases.
be7b4b9 Merge branch 'main' into feature/181-support-updated-auth-storage-node
3a10212 [client-ts] Add mocha types to resolve errors in unit tests
750b80d [client-ts] Fix: Datastore interface had encryptionKey as string, but should be Buffer
f4c205c Publish
1344a49 Update CHANGELOGs in preparation for new npm release.
025fc10 Feature/170 verify credential using external context (#179)
974c73f Better handling opening a context without an account. Update storage node consent message.

git-subtree-dir: client-rn
git-subtree-split: 45043b0dd411e587372b914f9d04bf0150c426d2
d6e06de Cache opened databases to avoid opening multiple and creating lots of open sockets.

git-subtree-dir: client-rn
git-subtree-split: d6e06deb20ff6044ea0d80d668e3b9dcc7decf6b
f165633 Fix refresh token expiry with account-node
53fd452 Fix error handling with promises
0012f41 Support account-web-vault handling invalid access token or refresh token.

git-subtree-dir: client-rn
git-subtree-split: f1656334ab0eac58eccda30e3f1cff539051775a
@tahpot tahpot self-assigned this Aug 31, 2022
@tahpot tahpot changed the base branch from main to release/2.0-acacia October 14, 2022 03:44
@tahpot tahpot merged commit c0514b1 into release/2.0-acacia Oct 14, 2022
@tahpot tahpot deleted the merge/auth-refactor branch October 14, 2022 03:44
@tahpot tahpot mentioned this pull request Oct 16, 2022
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.

Update to support new auth
1 participant