This is a gem that provides access to the Duo Security Rest Api.
-
ping
tests the connection to duo security rest api
-
check
checks your credentials for the correct keys
-
preauth(username)
information to display to the user to decide which way they want to log in.
-
auth(username, auth_method)
logging the user in.
the only tested auth method right now is push
For more info about the duo security process go here