Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeRequest ¶
type ExchangeRequest struct {
Token string `json:"token"`
}
func (*ExchangeRequest) Validate ¶ added in v1.5.0
func (r *ExchangeRequest) Validate() error
type ExchangeResponse ¶
type ExchangeResult ¶
type MagicLinkPluginConfig ¶
type MagicLinkPluginConfig struct {
Enabled bool `json:"enabled" toml:"enabled"`
ExpiresIn time.Duration `json:"expires_in" toml:"expires_in"`
DisableSignUp bool `json:"disable_sign_up" toml:"disable_sign_up"`
SendMagicLinkVerificationEmail func(params SendMagicLinkVerificationEmailParams, reqCtx *models.RequestContext) error `json:"-" toml:"-"`
}
func (*MagicLinkPluginConfig) ApplyDefaults ¶
func (config *MagicLinkPluginConfig) ApplyDefaults()
type SendMagicLinkVerificationEmailParams ¶ added in v1.5.0
type SignInRequest ¶ added in v1.5.0
type SignInRequest struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
CallbackURL *string `json:"callback_url,omitempty"`
}
func (*SignInRequest) Validate ¶ added in v1.5.0
func (r *SignInRequest) Validate() error
type SignInResponse ¶
type SignInResponse struct {
Message string `json:"message"`
}
type SignInResult ¶
type SignInResult struct {
Token string
}
type VerifyResponse ¶
Click to show internal directories.
Click to hide internal directories.