class Duo::Client

Defined in:

duo-client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_iframe(duo_iframe : Myhtml::Node, parent_url : String) : Client #

[View source]
def self.new(host : String, duo_sig : String, app_sig : String, parent_url : String, user_agent : String = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36") #

[View source]
def self.new(host : String, sig_request : String, parent_url : String) #

[View source]

Instance Method Detail

def fetch_iframe #

[View source]
def fetch_result(result_url : String) : Resp(ResultResp) #

[View source]
def fetch_status : Resp(StatusResp) #

[View source]
def start_session #

[View source]
def submit_token(duo_device : String, hotp_token : String) #

[View source]