Documentation
¶
Index ¶
- func PageRegister(w http.ResponseWriter, r *http.Request, a types.AuthSharedInterface)
- func RegisterAuthKnightContent(urlLogin string, verifiedEmail string, akKey string) string
- func RegisterAuthKnightScripts(urlApiRegister, urlOnSuccess string) string
- func RegisterPasswordlessContent(urlLogin string) string
- func RegisterPasswordlessScripts(urlApiRegister, urlOnSuccess string) string
- func RegisterUsernameAndPasswordContent(urlLogin, urlPasswordRestore string) string
- func RegisterUsernameAndPasswordScripts(urlApiRegister, urlOnSuccess string) string
- type Dependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageRegister ¶
func PageRegister(w http.ResponseWriter, r *http.Request, a types.AuthSharedInterface)
func RegisterAuthKnightContent ¶ added in v0.35.0
RegisterAuthKnightContent builds the HTML for the AuthKnight registration page. The email field is read-only (pre-populated from the verified AuthKnight email). akKey is the temporary key that maps to the verified email in the temp key store.
func RegisterAuthKnightScripts ¶ added in v0.35.0
RegisterAuthKnightScripts builds the JS for the AuthKnight registration page.
func RegisterPasswordlessContent ¶
RegisterPasswordlessContent builds the HTML for the passwordless registration page.
func RegisterPasswordlessScripts ¶
RegisterPasswordlessScripts builds the JS for the passwordless registration page.
func RegisterUsernameAndPasswordContent ¶
RegisterUsernameAndPasswordContent builds the HTML for the username/password registration page.
func RegisterUsernameAndPasswordScripts ¶
RegisterUsernameAndPasswordScripts builds the JS for the username/password registration page.