Skip to content

Commit

Permalink
Fix type of AuthType constants
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 30, 2021
1 parent b8efcf9 commit ddd5a8b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddd5a8b

Please sign in to comment.