Documentation ¶
Index ¶
Constants ¶
View Source
const VerificationKeyPath = "verification_key.json"
Variables ¶
This section is empty.
Functions ¶
func Callback ¶
func Callback(w http.ResponseWriter, r *http.Request)
Callback handles the callback from iden3
func GenerateAuthRequest ¶
func GenerateAuthRequest(userID int64, params storage.VerificationParams) ([]byte, error)
GenerateAuthRequest generates a new authentication request and returns it as a JSON object
Types ¶
type AuthRequestData ¶
type AuthRequestData struct { Request protocol.AuthorizationRequestMessage UserID int64 }
Click to show internal directories.
Click to hide internal directories.