mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-14 21:32:23 +03:00
mas: handle 3pids from mas
This commit is contained in:
parent
5cffc2c257
commit
811a504e01
5 changed files with 91 additions and 19 deletions
|
@ -111,6 +111,7 @@ type ClientUserAPI interface {
|
|||
QueryLocalpartForThreePID(ctx context.Context, req *QueryLocalpartForThreePIDRequest, res *QueryLocalpartForThreePIDResponse) error
|
||||
PerformForgetThreePID(ctx context.Context, req *PerformForgetThreePIDRequest, res *struct{}) error
|
||||
PerformSaveThreePIDAssociation(ctx context.Context, req *PerformSaveThreePIDAssociationRequest, res *struct{}) error
|
||||
PerformBulkSaveThreePIDAssociation(ctx context.Context, req *PerformBulkSaveThreePIDAssociationRequest, res *struct{}) error
|
||||
}
|
||||
|
||||
type KeyBackupAPI interface {
|
||||
|
@ -653,6 +654,12 @@ type PerformSaveThreePIDAssociationRequest struct {
|
|||
Medium string
|
||||
}
|
||||
|
||||
type PerformBulkSaveThreePIDAssociationRequest struct {
|
||||
ThreePIDs []authtypes.ThreePID
|
||||
Localpart string
|
||||
ServerName spec.ServerName
|
||||
}
|
||||
|
||||
type QueryAccountByLocalpartRequest struct {
|
||||
Localpart string
|
||||
ServerName spec.ServerName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue