mirror of
https://github.com/volatiletech/authboss.git
synced 2025-01-10 04:17:59 +02:00
1112987bce
- Tried to be clear about OAuth2 vs OAuth in all places. - Allow users to be locked from OAuth logins (if done manually for some reason other than failed logins) - Cleaned up some docs and wording around the previously very confusing (now hopefully only somewhat confusing) oauth2 module.
17 lines
557 B
Go
17 lines
557 B
Go
// Code generated by "stringer -output stringers.go -type Event"; DO NOT EDIT.
|
|
|
|
package authboss
|
|
|
|
import "strconv"
|
|
|
|
const _Event_name = "EventRegisterEventAuthEventOAuth2EventAuthFailEventOAuth2FailEventRecoverStartEventRecoverEndEventGetUserEventGetUserSessionEventPasswordReset"
|
|
|
|
var _Event_index = [...]uint8{0, 13, 22, 33, 46, 61, 78, 93, 105, 124, 142}
|
|
|
|
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]]
|
|
}
|