Passport/pkg/authkit/models/events.go

15 lines
310 B
Go
Raw Permalink Normal View History

2024-01-30 09:57:23 +00:00
package models
type ActionEvent struct {
BaseModel
Type string `json:"type"`
Target string `json:"target"`
Location string `json:"location"`
IpAddress string `json:"ip_address"`
UserAgent string `json:"user_agent"`
2024-08-24 07:17:26 +00:00
Account Account `json:"account"`
AccountID uint `json:"account_id"`
2024-01-30 09:57:23 +00:00
}