Versions in this module Expand all Collapse all v3 v3.3.0 Jul 14, 2023 Changes in this version + const DataNumberOTPs + const DataOTP + const PageAdd + const PageClear + const PageLogin + type OTP struct + func (o *OTP) AddGet(w http.ResponseWriter, r *http.Request) error + func (o *OTP) AddPost(w http.ResponseWriter, r *http.Request) error + func (o *OTP) ClearGet(w http.ResponseWriter, r *http.Request) error + func (o *OTP) ClearPost(w http.ResponseWriter, r *http.Request) error + func (o *OTP) Init(ab *authboss.Authboss) (err error) + func (o *OTP) LoginGet(w http.ResponseWriter, r *http.Request) error + func (o *OTP) LoginPost(w http.ResponseWriter, r *http.Request) error + type User interface + GetOTPs func() string + PutOTPs func(string) + func MustBeOTPable(user authboss.User) User