Created: 2014-05-19 02:47
Updated: 2014-06-14 22:29
License: mit

#onetime-java Build Status

Java implementation of the REST api.

###Usage Example

Add a maven dependency to the onetime-java-rest artifact.


Then use it to generate and retrieve secrets to your liking.

OneTimeSecret ots = new OneTimeSecretRestImpl(

GenerateResponse generateResponse = ots.generate(
                new GenerateRequest.Builder()
RetrieveResponse retrieveResponse = ots.retrieve(
                new RetrieveRequest.Builder()
assertEquals(generateResponse.getValue(), retrieveResponse.getValue());
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more