Called by the signing server and lets user decide which of the
available identities should be revealed to the application.
Must return a list of identities selected by the user, which is
the empty list in case of full request denial.
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.
matchingIdentities: keyof Identity[]
The identities that match the requested chain IDs.
Optional meta: any
An object that is passed by reference from request handlers into the callback.
Called by the signing server and lets user decide which of the available identities should be revealed to the application.
Must return a list of identities selected by the user, which is the empty list in case of full request denial.
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.