DIDAuth
Last updated
Last updated
If Query.type = “DIDAuth” , then it is a basic authentication request that does not include a verifiable credential : there is no selection of credential to propose to the user, call the function didkit.DIDAuth(did, “{“ challenge ”:“ …. ”,“ domain ”:“ ….. ”}”, key) which will create an empty presentation used only for authentication. The presentation passed with the POST request will look like this:
If Query.type =”QueryByExample “then it will take the user selects credentials in a list constituted according to the criteria specified in “credentialQuery.example”. Then it will be necessary to call the didkit.issuePresentation (…) function as what is currently done (there is no change in the function call).
Refer to for more information.