Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
CreateUser creates a new user if the user does not already exist.
func ParseMagicLinkForm ¶
ParseMagicLinkForm parses the formUrl out of a keycloak magic link http response
func SendVerificationEmail ¶
SendVerificationEmail verifies the email and let the user set a password.
func SendWelcomeEmail ¶
SendWelcomeEmail sends the user a magic link
Types ¶
type UserExistsError ¶
type UserExistsError struct {
User string
}
UserExistsError is returned when the user already exists
func (*UserExistsError) Error ¶
func (e *UserExistsError) Error() string
Click to show internal directories.
Click to hide internal directories.