From 54db57b09f30ab6b18095227e7fc27455849101d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 28 Apr 2021 11:12:59 +0100 Subject: [PATCH] update otp readme --- otp/README.md | 24 ++---------------------- otp/proto/otp.proto | 2 +- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/otp/README.md b/otp/README.md index 5e4e7e2..0555464 100644 --- a/otp/README.md +++ b/otp/README.md @@ -1,23 +1,3 @@ -# Otp Service +# OTP Service -This is the Otp service - -Generated with - -``` -micro new otp -``` - -## Usage - -Generate the proto code - -``` -make proto -``` - -Run the service - -``` -micro run . -``` \ No newline at end of file +Generate one time passwords (OTP) for any unique id, email or user. Codes are valid for up to 60 seconds. diff --git a/otp/proto/otp.proto b/otp/proto/otp.proto index 72f44fe..d9055d0 100644 --- a/otp/proto/otp.proto +++ b/otp/proto/otp.proto @@ -20,7 +20,7 @@ message GenerateResponse { string code = 1; } -// Validate the code +// Validate the OTP code message ValidateRequest { // unique id, email or user for which the code was generated string id = 1;