mirror of
https://github.com/pushbits/server.git
synced 2025-07-30 22:59:05 +02:00
Kick user when deleting an application
This commit is contained in:
parent
b89deeac3d
commit
3bdadd6029
4 changed files with 36 additions and 18 deletions
|
@ -24,8 +24,8 @@ type Database interface {
|
|||
|
||||
// The Dispatcher interface for relaying notifications.
|
||||
type Dispatcher interface {
|
||||
RegisterApplication(name, user string) (string, error)
|
||||
DeregisterApplication(a *model.Application) error
|
||||
RegisterApplication(id uint, name, token, user string) (string, error)
|
||||
DeregisterApplication(a *model.Application, u *model.User) error
|
||||
}
|
||||
|
||||
// The CredentialsManager interface for updating credentials.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue