You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Jwt functionality lives in the credentials package. This requires installing the credentials just to use Jwt creation, signing or verification. To fix we should move Jwt to the DIDs package.
Jwt has a hard dependency on BearerDid which is an abstraction from the DIDs. If we wanted Jwt to live in the crypto package (rather than the DIDs package) then we must remove Jwt's hard dependency on BearerDid. This probably means passing in the signer separately as a parameter to Jwt functions.
The text was updated successfully, but these errors were encountered:
shamilovtim
changed the title
Move Jwt functionality from credentials package to crypto package
Move Jwt functionality from credentials package to dids or crypto package
Jul 26, 2024
Currently the Jwt functionality lives in the credentials package. This requires installing the
credentials
just to use Jwt creation, signing or verification. To fix we should move Jwt to the DIDs package.Jwt has a hard dependency on
BearerDid
which is an abstraction from the DIDs. If we wanted Jwt to live in thecrypto
package (rather than the DIDs package) then we must remove Jwt's hard dependency on BearerDid. This probably means passing in the signer separately as a parameter to Jwt functions.The text was updated successfully, but these errors were encountered: