Skip to content

Commit

Permalink
feat: Agent Authentication with JSON Web Token (JWT) (#43)
Browse files Browse the repository at this point in the history
* Agent authentication

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added the jwt package

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: add the label on the out-of-band connection

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: add the label on the out-of-band connection in mutli-tenancy

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added limit as a infinity in tenant session

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: delete multi-tenancy by tenant Id

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat: Added the author agreement wallet version for indicio:mainnet

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Remove console.log on the cliAgent file

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Patch the aries-framework-core package

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* refactor: added and store the token for get the constant token

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat:did:web didDocument creation

Signed-off-by: pallavicoder <pallavi.ghule@ayanworks.com>

* fix:updated gitignore file

Signed-off-by: pallavicoder <pallavi.ghule@ayanworks.com>

* fix:error handling for key type

Signed-off-by: pallavicoder <pallavi.ghule@ayanworks.com>

* added comments for the token functionality

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Set infinity in agent session

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Add sessionLimit as a infinity

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: Add configuration in cli.ts

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* set flag multiUseInvitation to true in all OOB requests

Signed-off-by: ankita_patidar <ankita.patidar@ayanworks.com>

* Agent authentication

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added the jwt package

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: add the label on the out-of-band connection in mutli-tenancy

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added limit as a infinity in tenant session

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: delete multi-tenancy by tenant Id

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat: Added the author agreement wallet version for indicio:mainnet

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* refactor: added and store the token for get the constant token

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Add sessionLimit as a infinity

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* refactor: added the withTenantAgent function for session management for multi-tenancy

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Fixes sonar lint issues

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

---------

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* add proof record threadId in oob create request endpoint

Signed-off-by: ankita_patidar <ankita.patidar@ayanworks.com>

* fix: add the label on the out-of-band connection in mutli-tenancy

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat:did:web didDocument creation

Signed-off-by: pallavicoder <pallavi.ghule@ayanworks.com>

* fix:error handling for key type

Signed-off-by: pallavicoder <pallavi.ghule@ayanworks.com>

* set flag multiUseInvitation to true in all OOB requests

Signed-off-by: ankita_patidar <ankita.patidar@ayanworks.com>

* Agent authentication

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added the jwt package

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: add the label on the out-of-band connection

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* added comments for the token functionality

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* refactor: added the withTenantAgent function for session management for multi-tenancy

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

---------

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

---------

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: add the label on the out-of-band connection

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat: Added the author agreement wallet version for indicio:mainnet

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

---------

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: added the express rate limit for security

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* added the rate limit in utils

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* remove the cliConfig file

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Update condition for store the token on the wallet

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

---------

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>

* Added the limit on the utils

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Multi-tenancy refactor withTanantAgent function

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Update yarn.lock

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: solved eslint and prettier

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Solved prettier

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Update prettier and add on the eslintrc

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Solved the prettier issues

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Solved compile issues in route.ts

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

---------

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
KulkarniShashank authored and GHkrishna committed Sep 11, 2024
1 parent 99545af commit 295cdec
Show file tree
Hide file tree
Showing 40 changed files with 149,368 additions and 2,970 deletions.
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,54 @@ logs.txt
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
build
logs.txt
Loading

0 comments on commit 295cdec

Please sign in to comment.