View Source MishkaInstaller.Reference.OnCheckAnswer behaviour (Mishka Installer v0.0.4-beta.4)
Event called to initialize the captcha you want. Do not enable more than 1 captcha.
Note: This event is called directly in the html and will have an output
It is currently being renovated, and in the future it might look different.
Link to this section Summary
Types
This type can be used when you want to introduce an IP
This type can be used when you want to show the output of optional callbacks
This type can be used when you want to introduce private properties
This type can be used when you want to introduce a plugin output
This type can be used when you want to introduce an app's reference name
This type can be used when you want to register an app
This type can be used when you want to introduce what place this captcha is going to be run
This type can be used when you want to introduce an app as a plugin
This type can be used when you want to introduce an app as a plugin
Callbacks
This Callback can be used when you want to call a plugin
This Callback can be used when you want to delete a plugin
This Callback can be used when you want to register a plugin
This Callback can be used when you want to restart a plugin
This Callback can be used when you want to start a plugin
This Callback can be used when you want to stop a plugin
This Callback can be used when you want to unregister a plugin
Link to this section Types
This type can be used when you want to introduce an IP
@type optional_callbacks() :: {:ok, ref(), registerd_info()} | {:error, ref(), reason()}
This type can be used when you want to show the output of optional callbacks
@type private() :: %{ip: ip()}
This type can be used when you want to introduce private properties
This type can be used when you want to introduce a plugin output
@type ref() :: :on_check_answer
This type can be used when you want to introduce an app's reference name
@type registerd_info() :: MishkaInstaller.PluginState.t()
This type can be used when you want to register an app
@type section() :: atom()
This type can be used when you want to introduce what place this captcha is going to be run
This type can be used when you want to introduce an app as a plugin
@type t() :: state()
This type can be used when you want to introduce an app as a plugin
Link to this section Callbacks
This Callback can be used when you want to call a plugin
@callback delete(registerd_info()) :: optional_callbacks()
This Callback can be used when you want to delete a plugin
This Callback can be used when you want to register a plugin
@callback restart(registerd_info()) :: optional_callbacks()
This Callback can be used when you want to restart a plugin
@callback start(registerd_info()) :: optional_callbacks()
This Callback can be used when you want to start a plugin
@callback stop(registerd_info()) :: optional_callbacks()
This Callback can be used when you want to stop a plugin
@callback unregister(registerd_info()) :: optional_callbacks()
This Callback can be used when you want to unregister a plugin