otp-api

command module
v0.0.0-...-fb0f863 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

OTP API

API to generate TOTP from a secret key.

API Documentation

Generate TOTP
GET /totp?secret=${secret}
  • Sample Request:

    curl -X GET "http://otp.bitgarden.tech/totp?secret=JBSWY3DPEHPK3PXP"
    
  • Sample Response:

    123456
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL