Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserIdSignalsIndex = 0 ChallengeSignalsIndex = 1 GistRootSignalsIndex = 2 )
https://github.com/iden3/circuits/blob/master/circuits/authV2.circom
Proof pub signals example with description:
21493028867609342730075626961959697053940727668683389257942040837777854978 - user did (index 0) 21493028867609342730075626961959697053940727668683389257942040837777854978 - challenge (index 1) 16285847858933578151298306208524779888950768974039235725833670860163361043104 - gistRoot (index 2)
View Source
const ChallengeExpirationDelta = 5 * time.Minute
Variables ¶
View Source
var ( ErrChallengeWasNotRequested = errors.New("challenge was not requested") ErrChallengeIsInvalid = errors.New("challenge is already invalid") )
Functions ¶
This section is empty.
Types ¶
type Verifierer ¶
type Verifierer interface {
Verifier() *Verifier
}
func NewVerifierer ¶
func NewVerifierer(getter kv.Getter) Verifierer
Click to show internal directories.
Click to hide internal directories.