Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Plugin = plugin{}
Functions ¶
func RegisterAfterCreateCallback ¶
RegisterAfterCreateCallback registers a callback that will be called after a successful account creation. This can be used to set up post account creation tasks such as setting a new controller. The callback will be called with the session id as an argument, and the account id as an argument.
func RegisterAfterLoginCallback ¶
RegisterAfterLoginCallback registers a callback that will be called after a successful login. This can be used to set up post login tasks such as setting a new controller. The callback will be called with the session id as an argument.
func RegisterPasswordValidator ¶
RegisterPasswordValidator overwrites the default password validator. This is a function that simply returns an error whose message will be presented to the connected user when the error is present.
func RegisterUsernameValidator ¶
RegisterUsernameValidator overwrites the default username validator. This is a function that simply returns an error whose message will be presented to the connected user when the error is present.
Types ¶
This section is empty.