RpcAuthIssuer

interface RpcAuthIssuer

Interface to issue and add authentication data to RPC messages.

Authentication message is checked using RpcAuthInspector on the back-end side.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun auth(target: String, method: String, payload: Bstr): DataItem

Returns authorization for the RPC call defined by target and method endpoints and call parameters serialized as Cbor array in payload.