mirror of
https://github.com/matrix-org/dendrite
synced 2024-09-19 17:38:56 +02:00
5076925c18
* User API support for password changes * Password changes in client API * Update sytest-whitelist * Remove debug logging * Default logout_devices to true * Fix deleting devices by local part
13 lines
473 B
Go
13 lines
473 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 (
|
|
LoginTypePassword = "m.login.password"
|
|
LoginTypeDummy = "m.login.dummy"
|
|
LoginTypeSharedSecret = "org.matrix.login.shared_secret"
|
|
LoginTypeRecaptcha = "m.login.recaptcha"
|
|
LoginTypeApplicationService = "m.login.application_service"
|
|
)
|