Class: PrivateKeySigner
A signing implementation that uses a private key string to sign requests.
Implements
Constructors
Constructor
new PrivateKeySigner(privateKey): PrivateKeySigner;
Parameters
Parameter | Type |
---|---|
privateKey | string |
Returns
PrivateKeySigner
Methods
signObject()
signObject<TObjectType>(_methodName, obj): Promise<TObjectType & object>;
Type Parameters
Type Parameter |
---|
TObjectType extends Record <string , unknown > |
Parameters
Parameter | Type |
---|---|
_methodName | string |
obj | TObjectType |
Returns
Promise
<TObjectType
& object
>