Fix type of AuthType constants

This commit is contained in:
Tulir Asokan 2021-09-30 16:06:02 +03:00
commit ddd5a8be96

View file

@ -11,17 +11,17 @@ import (
type AuthType string
const (
AuthTypePassword = "m.login.password"
AuthTypeReCAPTCHA = "m.login.recaptcha"
AuthTypeOAuth2 = "m.login.oauth2"
AuthTypeSSO = "m.login.sso"
AuthTypeEmail = "m.login.email.identity"
AuthTypeMSISDN = "m.login.msisdn"
AuthTypeToken = "m.login.token"
AuthTypeDummy = "m.login.dummy"
AuthTypePassword AuthType = "m.login.password"
AuthTypeReCAPTCHA AuthType = "m.login.recaptcha"
AuthTypeOAuth2 AuthType = "m.login.oauth2"
AuthTypeSSO AuthType = "m.login.sso"
AuthTypeEmail AuthType = "m.login.email.identity"
AuthTypeMSISDN AuthType = "m.login.msisdn"
AuthTypeToken AuthType = "m.login.token"
AuthTypeDummy AuthType = "m.login.dummy"
AuthTypeAppservice = "m.login.application_service"
AuthTypeHalfyAppservice = "uk.half-shot.msc2778.login.application_service"
AuthTypeAppservice AuthType = "m.login.application_service"
AuthTypeHalfyAppservice AuthType = "uk.half-shot.msc2778.login.application_service"
)
type IdentifierType string