0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-08-02 18:24:43 +02:00
dendrite/clientapi/auth/authtypes/logintypes.go
2019-05-21 21:56:55 +01:00

13 lines
423 B
Go

package authtypes
// LoginType are specified by http://matrix.org/docs/spec/client_server/r0.2.0.html#login-types
type LoginType string
// The relevant login types implemented in Dendrite
const (
LoginTypeDummy = "m.login.dummy"
LoginTypeSharedSecret = "org.matrix.login.shared_secret"
LoginTypeRecaptcha = "m.login.recaptcha"
LoginTypeApplicationService = "m.login.application_service"
)