From ddd5a8be96d88ca75ea9c9fb9ce4ebdb1d7c7f0d Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 30 Sep 2021 16:06:02 +0300 Subject: [PATCH] Fix type of AuthType constants --- requests.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/requests.go b/requests.go index 14734b70..6455e2f8 100644 --- a/requests.go +++ b/requests.go @@ -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" - - AuthTypeAppservice = "m.login.application_service" - AuthTypeHalfyAppservice = "uk.half-shot.msc2778.login.application_service" + 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 AuthType = "m.login.application_service" + AuthTypeHalfyAppservice AuthType = "uk.half-shot.msc2778.login.application_service" ) type IdentifierType string