class TikToker::RequestSigner::External

Overview

Implementation of RequestSigner::Backend that uses an external signature server to sign TikTok API requests.

Network errors are gracefully retried following a randomized exponential backoff technique.

signer = RequestSigner::External.new(request)
signer.call # => SignedRequest

Defined in:

tiktoker/request_signer/external.cr

Constructors

Instance Method Summary

Instance methods inherited from class TikToker::RequestSigner::Backend

call : TikToker::SignedRequest call

Constructor methods inherited from class TikToker::RequestSigner::Backend

new(request : TikToker::Request) new

Constructor Detail

def self.new(request : TikToker::Request) #

[View source]

Instance Method Detail


[View source]