mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
zipdoc keys each entry by package and address now, so the generated files are rewritten in that shape; the JWKS and token endpoints name their handler at each address so the lift finds it. Co-authored-by: Hanzo Dev <[email protected]>
17 lines
798 B
Go
17 lines
798 B
Go
// Code generated by zipdoc; DO NOT EDIT.
|
|
|
|
package wallet
|
|
|
|
import (
|
|
"github.com/zap-proto/zip"
|
|
)
|
|
|
|
func init() {
|
|
zip.Describe("github.com/hanzoai/iam/internal/wallet GET /v1/iam/web3/nonce", zip.Doc{
|
|
Description: "Starts a wallet sign-in: it returns a one-time challenge for the wallet\nto sign. The challenge is good once and is tied to the site that asked for it,\nso a signature collected elsewhere cannot be replayed here.",
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/wallet POST /v1/iam/web3/verify", zip.Doc{
|
|
Description: "Completes a wallet sign-in: it verifies the signed challenge and, if it\nholds, signs the wallet's owner in.\n\nThis IS the login — it answers exactly as a password sign-in does, so the rest\nof your flow does not branch on how somebody arrived.",
|
|
})
|
|
}
|