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 <[email protected]>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <[email protected]>

* Added the jwt package

Signed-off-by: KulkarniShashank <[email protected]>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Added limit as a infinity in tenant session

Signed-off-by: KulkarniShashank <[email protected]>

* fix: delete multi-tenancy by tenant Id

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <[email protected]>

* Remove console.log on the cliAgent file

Signed-off-by: KulkarniShashank <[email protected]>

* Patch the aries-framework-core package

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* feat:did:web didDocument creation

Signed-off-by: pallavicoder <[email protected]>

* fix:updated gitignore file

Signed-off-by: pallavicoder <[email protected]>

* fix:error handling for key type

Signed-off-by: pallavicoder <[email protected]>

* added comments for the token functionality

Signed-off-by: KulkarniShashank <[email protected]>

* Set infinity in agent session

Signed-off-by: KulkarniShashank <[email protected]>

* Add sessionLimit as a infinity

Signed-off-by: KulkarniShashank <[email protected]>

* fix: Add configuration in cli.ts

Signed-off-by: KulkarniShashank <[email protected]>

* set flag multiUseInvitation to true in all OOB requests

Signed-off-by: ankita_patidar <[email protected]>

* Agent authentication

Signed-off-by: KulkarniShashank <[email protected]>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <[email protected]>

* Added the jwt package

Signed-off-by: KulkarniShashank <[email protected]>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Added limit as a infinity in tenant session

Signed-off-by: KulkarniShashank <[email protected]>

* fix: delete multi-tenancy by tenant Id

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Add sessionLimit as a infinity

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Fixes sonar lint issues

Signed-off-by: KulkarniShashank <[email protected]>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* add proof record threadId in oob create request endpoint

Signed-off-by: ankita_patidar <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* feat:did:web didDocument creation

Signed-off-by: pallavicoder <[email protected]>

* fix:error handling for key type

Signed-off-by: pallavicoder <[email protected]>

* set flag multiUseInvitation to true in all OOB requests

Signed-off-by: ankita_patidar <[email protected]>

* Agent authentication

Signed-off-by: KulkarniShashank <[email protected]>

* Added all API's authentication in controller

Signed-off-by: KulkarniShashank <[email protected]>

* Added the jwt package

Signed-off-by: KulkarniShashank <[email protected]>

* Added remove authentication for invitation url

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* Remove authentication agent status

Signed-off-by: KulkarniShashank <[email protected]>

* added comments for the token functionality

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

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

Signed-off-by: KulkarniShashank <[email protected]>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: added the express rate limit for security

Signed-off-by: KulkarniShashank <[email protected]>

* added the rate limit in utils

Signed-off-by: KulkarniShashank <[email protected]>

* remove the cliConfig file

Signed-off-by: KulkarniShashank <[email protected]>

* Update condition for store the token on the wallet

Signed-off-by: KulkarniShashank <[email protected]>

* chore: add eslint and prettier  (#49)

* chore: add lint and dependencies

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: lint issues

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: build

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: format

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: add integration git action

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* fix: delete build file

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* Added the limit on the utils

Signed-off-by: KulkarniShashank <[email protected]>

* Multi-tenancy refactor withTanantAgent function

Signed-off-by: KulkarniShashank <[email protected]>

* Update yarn.lock

Signed-off-by: KulkarniShashank <[email protected]>

* fix: solved eslint and prettier

Signed-off-by: KulkarniShashank <[email protected]>

* Solved prettier

Signed-off-by: KulkarniShashank <[email protected]>

* Update prettier and add on the eslintrc

Signed-off-by: KulkarniShashank <[email protected]>

* Solved the prettier issues

Signed-off-by: KulkarniShashank <[email protected]>

* Solved compile issues in route.ts

Signed-off-by: KulkarniShashank <[email protected]>

---------

Signed-off-by: KulkarniShashank <[email protected]>
  • Loading branch information
KulkarniShashank authored Feb 15, 2024
1 parent ecadc24 commit f644fca
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 f644fca

Please sign in to comment.