Configuration
The set of APIs included in the verification library can be split into two steps:
- Request APIs allow to design the request to be presented to the user in order to authenticate.
- Verification APIs allow verifying the proof sent by the user. The proof is generated as response to the request.
Check the workflow to disambiguate between these two processes
Both the APIs are available either in Golang or Javascript:
go get github.com/iden3/go-iden3-auth/v2
import (
"github.com/iden3/go-circuits/v2"
auth "github.com/iden3/go-iden3-auth/v2"
"github.com/iden3/go-iden3-auth/v2/loaders"
"github.com/iden3/go-iden3-auth/v2/pubsignals"
"github.com/iden3/go-iden3-auth/v2/state"
"github.com/iden3/iden3comm/v2/protocol"
)
npm i @iden3/js-iden3-auth --save
const {auth, resolver, protocol} = require('@iden3/js-iden3-auth')
×
New Polygon ID Documentation Website Available!
We've released a new version of our documention. Head to devs.polygonid.com to check it out.