mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 17:23:09 -06:00
Return only session id in CreateSession in UserInternalAPI
This commit is contained in:
parent
4d1f248a9b
commit
1f537ba1b9
|
|
@ -50,7 +50,7 @@ type UserInternalAPI interface {
|
|||
QueryDeviceInfos(ctx context.Context, req *QueryDeviceInfosRequest, res *QueryDeviceInfosResponse) error
|
||||
QuerySearchProfiles(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse) error
|
||||
QueryOpenIDToken(ctx context.Context, req *QueryOpenIDTokenRequest, res *QueryOpenIDTokenResponse) error
|
||||
CreateSession(context.Context, *CreateSessionRequest, *Session) error
|
||||
CreateSession(context.Context, *CreateSessionRequest, *CreateSessionResponse) error
|
||||
ValidateSession(context.Context, *ValidateSessionRequest, struct{}) error
|
||||
GetThreePidForSession(context.Context, *SessionOwnership, *GetThreePidForSessionResponse) error
|
||||
DeleteSession(context.Context, *SessionOwnership, struct{}) error
|
||||
|
|
@ -350,6 +350,13 @@ const (
|
|||
|
||||
type CreateSessionRequest struct {
|
||||
ClientSecret, NextLink, ThreePid string
|
||||
Extra []string
|
||||
SendAttempt int
|
||||
SessionType ThreepidSessionType
|
||||
}
|
||||
|
||||
type CreateSessionResponse struct {
|
||||
Sid string
|
||||
}
|
||||
|
||||
type ValidateSessionRequest struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue