mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -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
|
QueryDeviceInfos(ctx context.Context, req *QueryDeviceInfosRequest, res *QueryDeviceInfosResponse) error
|
||||||
QuerySearchProfiles(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse) error
|
QuerySearchProfiles(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse) error
|
||||||
QueryOpenIDToken(ctx context.Context, req *QueryOpenIDTokenRequest, res *QueryOpenIDTokenResponse) 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
|
ValidateSession(context.Context, *ValidateSessionRequest, struct{}) error
|
||||||
GetThreePidForSession(context.Context, *SessionOwnership, *GetThreePidForSessionResponse) error
|
GetThreePidForSession(context.Context, *SessionOwnership, *GetThreePidForSessionResponse) error
|
||||||
DeleteSession(context.Context, *SessionOwnership, struct{}) error
|
DeleteSession(context.Context, *SessionOwnership, struct{}) error
|
||||||
|
|
@ -350,6 +350,13 @@ const (
|
||||||
|
|
||||||
type CreateSessionRequest struct {
|
type CreateSessionRequest struct {
|
||||||
ClientSecret, NextLink, ThreePid string
|
ClientSecret, NextLink, ThreePid string
|
||||||
|
Extra []string
|
||||||
|
SendAttempt int
|
||||||
|
SessionType ThreepidSessionType
|
||||||
|
}
|
||||||
|
|
||||||
|
type CreateSessionResponse struct {
|
||||||
|
Sid string
|
||||||
}
|
}
|
||||||
|
|
||||||
type ValidateSessionRequest struct {
|
type ValidateSessionRequest struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue