mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 23:59:53 +00:00
Merge pull request #853 from openziti/add-identity-to-api-session-event
Add identity id to api session delete event
This commit is contained in:
@@ -80,12 +80,13 @@ func apiSessionDeleted(args ...interface{}) {
|
||||
}
|
||||
|
||||
event := &ApiSessionEvent{
|
||||
Namespace: ApiSessionEventNS,
|
||||
EventType: ApiSessionEventTypeDeleted,
|
||||
Id: apiSession.Id,
|
||||
Timestamp: time.Now(),
|
||||
Token: apiSession.Token,
|
||||
IpAddress: apiSession.IPAddress,
|
||||
Namespace: ApiSessionEventNS,
|
||||
EventType: ApiSessionEventTypeDeleted,
|
||||
Id: apiSession.Id,
|
||||
Timestamp: time.Now(),
|
||||
Token: apiSession.Token,
|
||||
IdentityId: apiSession.IdentityId,
|
||||
IpAddress: apiSession.IPAddress,
|
||||
}
|
||||
|
||||
for _, handler := range getApiSessionEventHandlers() {
|
||||
|
||||
Reference in New Issue
Block a user