class Duo::Client
- Duo::Client
- Reference
- Object
Defined in:
duo-client.crConstructors
- .from_iframe(duo_iframe : Myhtml::Node, parent_url : String) : Client
- .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")
- .new(host : String, sig_request : String, parent_url : String)
Instance Method Summary
- #fetch_iframe
- #fetch_result(result_url : String) : Resp(ResultResp)
- #fetch_status : Resp(StatusResp)
- #start_session
- #submit_token(duo_device : String, hotp_token : String)
Constructor Detail
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")
#