1.0.2 • Published 5 years ago
@satispay-authentication/core v1.0.2
@satispay-authentication/core
This module will help you to compose a signed request to Satispay API.
You can also use the following implementations:
- @satispay-authentication/node-fetch (
node-fetch
interface)
API
HTTPRequest (interface)
An interface that represents an HTTP request.
createSignedHTTPRequest (function)
Signature:
declare export function createSignedHTTPRequest(args: {
httpRequest: HTTPRequest,
keyId: string
privateKey: string
}): HTTPRequest
Return a signed HTTPRequest.