class Yoti::SignedRequest

Defined in:

yoti/signed_request.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(method : String, endpoint : String, payload : Yoti::DocScan::SessionSpecification | Nil = nil, nonce : UUID | Nil = UUID.random, timestamp : Int64 | Nil = Time.utc.to_unix) #

[View source]

Class Method Detail

def self.get(endpoint : String, &block : HTTP::Client::Response -> _) #

[View source]
def self.post(endpoint : String, payload : Yoti::DocScan::SessionSpecification, &block : HTTP::Client::Response -> _) #

[View source]

Instance Method Detail

def exec(&) #

[View source]