This interface is mainly used for access control conditions & decrypt requests. For signing operations such as executeJs and pkpSign, only sessionSigs is used.

interface SessionSigsOrAuthSig {
    authSig?: AuthSig;
    sessionSigs?: SessionSigsMap;
}

Hierarchy (view full)

Properties

authSig?: AuthSig

This is a bare authSig generated client side by the user. It can only be used for access control conditions/encrypt/decrypt operations. It CANNOT be used for signing operation.

sessionSigs?: SessionSigsMap

the session signatures to use to authorize the user with the nodes