Versions in this module Expand all Collapse all v0 v0.2.2 Jan 21, 2025 v0.2.1 Dec 2, 2024 Changes in this version type Verification + AlwaysVerifiedIDsOnly bool v0.2.0 Nov 12, 2024 Changes in this version + type Challenge struct + Domain string + Window int64 + type Config struct + Challenge Challenge + IDLimiter IDLimiter + IPLimiter IPLimiter + Idenfy Idenfy + Log Log + MongoDB MongoDB + Server Server + TFChain TFChain + Verification Verification + func LoadConfigFromEnv() (*Config, error) + func (c *Config) Validate() error + func (c Config) GetPublicConfig() Config + type IDLimiter struct + MaxTokenRequests uint + TokenExpiration uint + type IPLimiter struct + MaxTokenRequests uint + TokenExpiration uint + type Idenfy struct + APIKey string + APISecret string + BaseURL string + CallbackSignKey string + CallbackUrl string + DevMode bool + Namespace string + WhitelistedIPs []string + func (c *Idenfy) GetAPIKey() string + func (c *Idenfy) GetAPISecret() string + func (c *Idenfy) GetBaseURL() string + func (c *Idenfy) GetCallbackSignKey() string + func (c *Idenfy) GetCallbackUrl() string + func (c *Idenfy) GetDevMode() bool + func (c *Idenfy) GetNamespace() string + func (c *Idenfy) GetWhitelistedIPs() []string + type Log struct + Debug bool + type MongoDB struct + DatabaseName string + URI string + type Server struct + Port string + type TFChain struct + WsProviderURL string + func (c *TFChain) GetWsProviderURL() string + type Verification struct + AlwaysVerifiedIDs []string + ExpiredDocumentOutcome string + MinBalanceToVerifyAccount uint64 + SuspiciousVerificationOutcome string v0.2.0-rc3 Nov 12, 2024 v0.2.0-rc2 Nov 7, 2024