Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { comfig.Logger pgdb.Databaser types.Copuser comfig.Listenerer Civic() *Civic WorldcoinSettings() *WorldcoinSettings UnstoppableDomains() *UnstoppableDomains GitcoinPassportSettings() *GitcoinPassportSettings Issuer() *Issuer KYCService() *KYCService }
type GitcoinPassportSettings ¶
type GitcoinPassportSettings struct { // APIkey is the API key for the Gitcoin Passport identity provider APIkey string `fig:"api_key,required"` // BaseURL is the base URL for the Gitcoin Passport identity provider BaseURL string `fig:"base_url"` // ScorerId is the ID of the Scorer instance to use for scoring ScorerId int `fig:"scorer_id,required"` // GateScore is the minimum score required to pass the verification GateScore float64 `fig:"gate_score,required"` // GetScoreMaxRetries is the maximum number of retries for the GetScore request GetScoreMaxRetries int `fig:"get_score_max_retries"` // SkipSigCheck is a flag that indicates whether to skip signature verification SkipSigCheck bool `fig:"skip_sig_check"` }
GitcoinPassportSettings is a struct that contains the settings for the Gitcoin Passport identity provider
type KYCService ¶
type UnstoppableDomains ¶
type UnstoppableDomains struct {
AuthBaseURL string `fig:"auth_base_url"`
}
type WorldcoinSettings ¶
type WorldcoinSettings struct {
BaseURL string `fig:"base_url"`
}
WorldcoinSettings is a struct that contains the settings for the Worldcoin identity provider
Click to show internal directories.
Click to hide internal directories.