15 lines
323 B
Go
15 lines
323 B
Go
package enum
|
|
|
|
// OTPPurpose scopes an OTP challenge to a business flow.
|
|
type OTPPurpose string
|
|
|
|
const (
|
|
OTPPurposeBusinessEmail OTPPurpose = "business_email"
|
|
OTPPurposeBusinessPhone OTPPurpose = "business_phone"
|
|
OTPPurposeStepUp OTPPurpose = "step_up"
|
|
)
|
|
|
|
func (p OTPPurpose) String() string {
|
|
return string(p)
|
|
}
|