mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +02:00
f70bdd5eeb
Lock/Confirm and possibly other authentication preemption mechanisms hook into 'Before(EventAuth)', but the ordering of these rejection mechanisms mixed with the 2fa acceptance response could result in a dual response.
17 lines
577 B
Go
17 lines
577 B
Go
// Code generated by "stringer -output stringers.go -type Event"; DO NOT EDIT.
|
|
|
|
package authboss
|
|
|
|
import "strconv"
|
|
|
|
const _Event_name = "EventRegisterEventAuthEventAuthHijackEventOAuth2EventAuthFailEventOAuth2FailEventRecoverStartEventRecoverEndEventGetUserEventGetUserSessionEventPasswordReset"
|
|
|
|
var _Event_index = [...]uint8{0, 13, 22, 37, 48, 61, 76, 93, 108, 120, 139, 157}
|
|
|
|
func (i Event) String() string {
|
|
if i < 0 || i >= Event(len(_Event_index)-1) {
|
|
return "Event(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Event_name[_Event_index[i]:_Event_index[i+1]]
|
|
}
|