Called by the signing server and lets user decide if they want to
authorize a sign and post request.
Must return true if the user authorized the signing and false if the
user rejects it.
Any error (thrown or returned as a rejected promise) from this
callback is sent to the RPC client as an unspecified
"Internal server error" and the callback author should
ensure this does not happen.
Parameters
reason: string
An explanation why the autorization is requested. This is created by the website and shown to the user.
Called by the signing server and lets user decide if they want to authorize a sign and post request.
Must return true if the user authorized the signing and false if the user rejects it.
Any error (thrown or returned as a rejected promise) from this callback is sent to the RPC client as an unspecified "Internal server error" and the callback author should ensure this does not happen.