-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: dart auth provider tests #439
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michalsurynt-affinidi
approved these changes
Jan 15, 2025
carlos-affinidi
added a commit
that referenced
this pull request
Jan 21, 2025
* feat: structure * feat: working project scoped token * feat: example * chore: revert import order change * chore: removed unused dotenv * fix: simplify Environment * fix: improve environment lookup * fix: make constructor private so only Environment class can make new instance * fix: revert environments as public * feat: dart consumer auth provider (#407) * fix: simplify Environment * fix: improve environment lookup * fix: make constructor private so only Environment class can make new instance * fix: revert environments as public * fix: env names and consumer url tests --------- Co-authored-by: Earl Grant Reyes <earl.r@affinidi.com> Co-authored-by: Carlos Rincon <“carlos.r@affinidi.com”> * fix: add consumerCisUrl * feat: iota and improved examples with dotenv * feat: token refresh * feat: add JS wallet service from Vault * fix: remove redundant Consumer base URL * feat: initial implementation of Consumer Auth Provider * feat: add temporary Token provider * feat: add fetchConsumerCisUrl test * fix: use seed instead of mnemonic * fix: updated implementation using encryptedSeed * fix: remove unused code * fix: update implementation to use encryptedSeed * fix: move wallet material to constructor * fix: rename environment types for consistency * fix: extract common endpoints * fix: rename package to affinidi_tdk_consumer_auth_provider * fix: rename package folder to consumer_auth_provider * fix: removed old file * fix: refactor * fix: rename packages correctly * feat: dart auth provider tests (#439) * feat: dart auth provider tests * feat: encrypted key tests * chore: test group name * chore: use mock vars * fix: type and var fixes --------- Co-authored-by: Carlos Rincon <“carlos.r@affinidi.com”> * fix: add check for existing token * chore: gitignored fvmrc * feat: add check for expiration * fix: env in integration test * fix: update integration test * feat: decrypt encrypted seed (#463) * fix: add test decryption * fix: add seed decryption * fix: use correct environment --------- Co-authored-by: Earl Grant Reyes <earl.r@affinidi.com> * chore: remove leftover file * feat: add script to generate dart code * fix: move decryptSeed into the CryptographyService * feat: move AesCbcEncryptionService to affinidi_cryptography_service * chore: dart integration tests (#468) * feat: integration tests * chore: consumer auth provider integration tests * fix: private vars * chore: ignore pubspec.lock * chore: ignore pubspec.lock * docs: updated readme --------- Co-authored-by: Carlos Rincon <“carlos.r@affinidi.com”> * fix: refresh token on all verification failures * feat: add dart docs * chore: remove API section * fix: fix Dart code generation * chore: test signed commit * feat: add consumer abstraction * chore: add VDM as example * feat: workspace (#488) Co-authored-by: Carlos Rincon <“carlos.r@affinidi.com”> * chore: change to TDK * chore: updated package descriptions * chore: move docs from base implementation * fix: initiate tokenProvider from constructor * feat: add CryptographyService abstraction * feat: add abstraction, docs, joined cryptography in one service --------- Co-authored-by: Carlos Rincon <“carlos.r@affinidi.com”> Co-authored-by: Earl Grant Reyes <earl.r@affinidi.com> Co-authored-by: hpelitebook745G2 <ambiguous.exe4585@gmail.com> Co-authored-by: hpelitebook745G2 <27658429+hpelitebook745G2@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.