mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-09 20:21:03 +00:00
Merge login data types
This commit is contained in:
parent
b0ac28ab22
commit
35f75a6ddd
@ -1,5 +0,0 @@
|
|||||||
package login
|
|
||||||
|
|
||||||
type GetLoginReply struct {
|
|
||||||
Flows []Flow `json:"flows"` // The homeserver's supported login types
|
|
||||||
}
|
|
@ -13,3 +13,8 @@ type LoginReply struct {
|
|||||||
type Flow struct {
|
type Flow struct {
|
||||||
Type common.AuthenticationType `json:"type"`
|
Type common.AuthenticationType `json:"type"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-login
|
||||||
|
type GetLoginReply struct {
|
||||||
|
Flows []Flow `json:"flows"` // The homeserver's supported login types
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user