class Yoti::DocScan::SessionSpecification

Defined in:

yoti/doc_scan/session_specification.cr
yoti/doc_scan/session_specification_notifications.cr
yoti/doc_scan/session_specification_requested_check.cr
yoti/doc_scan/session_specification_requested_task.cr
yoti/doc_scan/session_specification_sdk_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.build(&) : self #

[View source]
def self.new #

[View source]

Instance Method Detail

def builder : JSON::Builder #

[View source]
def close : Nil #

[View source]
def document_closed? : Bool #

[View source]
def to_json : String #

[View source]
def to_s(*args, **options) #

[View source]
def to_s(*args, **options, &) #

[View source]
def with_client_session_token_ttl(ttl_seconds : Int32) : self #

[View source]
def with_notifications(&) : self #

[View source]
def with_requested_checks(&) : self #

[View source]
def with_requested_tasks(&) : self #

[View source]
def with_resources_ttl(ttl_seconds : Int32) : self #

[View source]
def with_sdk_config(&) : self #

[View source]
def with_session_deadline(time : Time) : self #

NOTE If client_session_token_ttl is called, this field can't be used


[View source]
def with_user_tracking_id(user_id : String) : self #

[View source]