z_mqtt_ticket (zotonic_core v1.0.0-rc.11)
Link to this section Summary
Functions
Delete a stored context record.
Exchange a ticket for a stored context record.
Return a new ticket id for out of band MQTT calls.
Starts the MQTT ticket server server
Link to this section Functions
Link to this function
code_change(OldVersion, State, Extra)
Link to this function
delete_ticket(Ticket, Context)
-spec delete_ticket(binary(), z:context()) -> ok | {error, term()}.
Link to this function
exchange_ticket(Ticket, Context)
Link to this function
handle_call(Msg, From, State)
Link to this function
handle_cast(Msg, State)
Link to this function
handle_info(Msg, State)
Link to this function
init(_)
Link to this function
new_ticket(Context)
-spec new_ticket(z:context()) -> {ok, binary()} | {error, term()}.
Link to this function
start_link(Site)
Link to this function