public class UserCleanupEvent extends ApplicationEvent
Clients that store data used to authenticate or authorize a user should subscribe to this event to clean up data related to the deleted user. For example, if a plugin stores a secure key used to authenticate a user, it should listen for this event and delete those keys. Note that content created by the user typically shouldn't be deleted when the user is deleted, as it may still be of historical interest.
This event is raised for every deleted user.
source
Constructor and Description |
---|
UserCleanupEvent(Object source,
ApplicationUser deletedUser) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
getDeletedUser() |
getDate, getUser
getSource, toString
public UserCleanupEvent(@Nonnull Object source, @Nonnull ApplicationUser deletedUser)
@Nonnull public ApplicationUser getDeletedUser()
Copyright © 2019 Atlassian. All rights reserved.