Skip to content

Commit

Permalink
Remove unstable prefixed constant for appservice login
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Apr 29, 2022
1 parent eaab53c commit 58e10ec
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ import (
type AuthType string

const (
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"
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"
)

type IdentifierType string
Expand Down

0 comments on commit 58e10ec

Please sign in to comment.