-
Notifications
You must be signed in to change notification settings - Fork 14
Passwordless #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passwordless #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it seems good. However, I think the number of functions is rather too many? Let's discuss on a call
src/main/java/io/supertokens/pluginInterface/passwordless/PasswordlessDevice.java
Outdated
Show resolved
Hide resolved
src/main/java/io/supertokens/pluginInterface/passwordless/PasswordlessDevice.java
Show resolved
Hide resolved
src/main/java/io/supertokens/pluginInterface/passwordless/UserInfo.java
Outdated
Show resolved
Hide resolved
...main/java/io/supertokens/pluginInterface/passwordless/sqlStorage/PasswordlessSQLStorage.java
Outdated
Show resolved
Hide resolved
src/main/java/io/supertokens/pluginInterface/passwordless/PasswordlessStorage.java
Outdated
Show resolved
Hide resolved
src/main/java/io/supertokens/pluginInterface/passwordless/PasswordlessStorage.java
Outdated
Show resolved
Hide resolved
...main/java/io/supertokens/pluginInterface/passwordless/sqlStorage/PasswordlessSQLStorage.java
Outdated
Show resolved
Hide resolved
...main/java/io/supertokens/pluginInterface/passwordless/sqlStorage/PasswordlessSQLStorage.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that you want to remove getDevice
, getCodesOfDevice
and getCodeByLinkCodeHash
from the interface? I ask cause without those, we will have to use the trasaction versions of these functions which means that those will have a FOR UPDATE
in them.
...in/java/io/supertokens/pluginInterface/passwordless/exception/EmptyContactInfoException.java
Outdated
Show resolved
Hide resolved
src/main/java/io/supertokens/pluginInterface/passwordless/UserInfo.java
Outdated
Show resolved
Hide resolved
…oException We should throw IllegalArgumentException instead
Summary of change
Adding interfaces necessary to implement the passwordless recipe
Related issues
Checklist for important updates
build.gradle
git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.