mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
mas: added localpart_external_ids table
This commit is contained in:
parent
e1dfe62b20
commit
150be588f5
8 changed files with 242 additions and 0 deletions
|
@ -134,6 +134,12 @@ type Notification interface {
|
|||
DeleteOldNotifications(ctx context.Context) error
|
||||
}
|
||||
|
||||
type LocalpartExternalID interface {
|
||||
CreateLocalpartExternalID(ctx context.Context, localpart, externalID, authProvider string) error
|
||||
GetLocalpartForExternalID(ctx context.Context, externalID, authProvider string) (*api.LocalpartExternalID, error)
|
||||
DeleteLocalpartExternalID(ctx context.Context, externalID, authProvider string) error
|
||||
}
|
||||
|
||||
type UserDatabase interface {
|
||||
Account
|
||||
AccountData
|
||||
|
@ -147,6 +153,7 @@ type UserDatabase interface {
|
|||
Statistics
|
||||
ThreePID
|
||||
RegistrationTokens
|
||||
LocalpartExternalID
|
||||
}
|
||||
|
||||
type KeyChangeDatabase interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue