saasitone/context/context.go

16 lines
431 B
Go
Raw Normal View History

2021-12-12 14:04:11 -08:00
package context
const (
// AuthenticatedUserKey is the key value used to store the authenticated user in context
2021-12-12 14:04:11 -08:00
AuthenticatedUserKey = "auth_user"
// UserKey is the key value used to store a user in context
UserKey = "user"
// FormKey is the key value used to store a form in context
FormKey = "form"
// PasswordTokenKey is the key value used to store a password token in context
PasswordTokenKey = "password_token"
2021-12-12 14:04:11 -08:00
)