Skip to content

Commit

Permalink
feat: Update LoginType.kt enum to lowercase
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Dec 4, 2024
1 parent e81c0e1 commit 18611e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class SingleFactorAuth(
profileImage = it.getClaim("picture").asString() ?: "",
verifier = loginParams.verifier,
verifierId = loginParams.verifierId,
typeOfLogin = LoginType.JWT,
typeOfLogin = LoginType.jwt,
state = TorusGenericContainer(params = mapOf())
)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
package com.web3auth.singlefactorauth.types

enum class LoginType {
GOOGLE,
FACEBOOK,
DISCORD,
REDDIT,
TWITCH,
APPLE,
GITHUB,
LINKEDIN,
TWITTER,
WEIBO,
LINE,
EMAIL_PASSWORD,
EMAIL_PASSWORDLESS,
SMS_PASSWORDLESS,
JWT;
google,
facebook,
discord,
reddit,
twitch,
apple,
github,
linkedin,
twitter,
weibo,
line,
email_password,
email_passwordless,
sms_passwordless,
jwt;
}

0 comments on commit 18611e8

Please sign in to comment.