module TikToker::RequestSigner

Overview

The RequestSigner module provides interaction with available TikTok API request signer backends. See RequestSigner::Backend.

signer = TikToker::RequestSigner.sign(request, RequestSigner::External)
signer # => TikTok::SignedRequest

Defined in:

tiktoker/request_signer.cr
tiktoker/request_signer/base.cr

Class Method Summary

Class Method Detail

def self.sign(request : Request, signer = RequestSigner::External) #

Signs a TikTok API request using the provided backend.


[View source]