2021-12-01 03:32:58 +00:00
|
|
|
package duo
|
|
|
|
|
|
|
|
// Duo Methods.
|
|
|
|
const (
|
|
|
|
// Push Method - The device is activated for Duo Push.
|
|
|
|
Push = "push"
|
|
|
|
// OTP Method - The device is capable of generating passcodes with the Duo Mobile app.
|
|
|
|
OTP = "mobile_otp"
|
|
|
|
// Phone Method - The device can receive phone calls.
|
|
|
|
Phone = "phone"
|
|
|
|
// SMS Method - The device can receive batches of SMS passcodes.
|
|
|
|
SMS = "sms"
|
|
|
|
)
|
|
|
|
|
|
|
|
// PossibleMethods is the set of all possible Duo 2FA methods.
|
2022-01-31 05:25:15 +00:00
|
|
|
var PossibleMethods = []string{Push} // OTP, Phone, SMS.
|