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

feat: dart consumer auth provider #407

Merged

Conversation

hpelitebook745G2
Copy link
Contributor

No description provided.

@hpelitebook745G2 hpelitebook745G2 self-assigned this Jan 8, 2025
@carlos-affinidi carlos-affinidi marked this pull request as ready for review January 8, 2025 22:25
@carlos-affinidi carlos-affinidi merged commit a2e9ba6 into dart-auth-provider Jan 8, 2025
6 checks passed
@carlos-affinidi carlos-affinidi deleted the feat/dart-consumer-auth-provider branch January 8, 2025 22:26
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants