Java implementation of SecureLogin.pw verification
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

securelogin-java

Java implementation of SecureLogin.pw verification

Usage:

String token = ... ; // obtain token from request
SecureLogin login = SecureLogin.verify(token, Options.create(ALLOWED_ORIGIN_DOMAINS));
String publicKey = login.getRawPublicKey();
// use public key to lookup the user in the database

Maven dependency:

<dependencey>
    <groupId>net.bozho.securelogin</groupId>
    <artifactId>securelogin-java</artifactId>
    <version>0.0.1</version>
</dependency>