Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Documentation is available at: https://docs.dotkernel.org/dot-totp/.
## Badges

![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-totp)
![PHP from Packagist (specify version)](https://img.shields.io/packagist/dependency-v/dotkernel/dot-totp/php)
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-totp/1.0.0)

[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-totp)](https://github.com/dotkernel/dot-totp/issues)
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-totp)](https://github.com/dotkernel/dot-totp/network)
Expand Down
6 changes: 3 additions & 3 deletions docs/book/v1/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ A code is derived from a shared secret and the current time step, so the same co

| Method | How the user gets the code | Secret lives |
| --- | --- | --- |
| `app` | Scans a QR code once, then their device derives every code offline | Server and device |
| `email` | The server derives the code and sends it by email | Server only |
| `sms` | The server derives the code and sends it by SMS | Server only |
| [`app`](usage/app.md) | Scans a QR code once, then their device derives every code offline | Server and device |
| [`email`](usage/email.md) | The server derives the code and sends it by email | Server only |
| [`sms`](usage/sms.md) | The server derives the code and sends it by SMS | Server only |

Generation and verification are the same two calls in all three cases.
`getCode()` is what lets the server derive the code it expects, so email and SMS need no second implementation.
Expand Down
329 changes: 0 additions & 329 deletions docs/book/v1/usage.md

This file was deleted.

Loading
Loading