Provide a way to authenticate users, organizations and other actors in fully decentralized manner
Specification of DAuth can be found here
Build project: ./gradlew build
Run tests: ./gradlew test
Create an image with didresolver inside: ./gradlew dockerBuild
Didresolver depends on Iroha blockchain, so it requires direct link to it and preconfigured blockchain On startup didresolver service expects environment variables:
- DIDRESOLVER_IROHA_HOST: URL of Iroha peer
- DIDRESOLVER_IROHA_PORT: port on which Iroha peer expects incoming messages
- DIDRESOLVER_IROHA_ACCOUNT: precreated account in Iroha in which account details records written
- DIDRESOLVER_IROHA_PRIVATE_KEY: secret key of the predefined account
- DIDRESOLVER_IROHA_PUBLIC_KEY: public key of the predefined account
All endpoints exposed by service can be found in Swagger documentation. By default, it is available by path /didresolver/swagger-ui.html