Skip to content

Commit

Permalink
Authenticaton example tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyoul committed Dec 12, 2016
1 parent 4da7e76 commit bcb4ccf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ You can also install it with the following:
1. [Step 2: Talking to the HID]()
1. [Step 3: Validation]()

---

### Compatibility Code

You'll only ever need to use this method call once per installation and only in the context of debugging if the class is giving you unexpected errors. This method call will check your OpenSSL version and ensure it is at least 1.0.0 .
Expand All @@ -136,6 +138,8 @@ use Samyoul\U2F;
var_dump(U2F::checkOpenSSLVersion());
```

---

### Registration Code

#### Registration Step 1:
Expand Down Expand Up @@ -258,6 +262,8 @@ try {
echo View::make('template/location/u2f-registration-result.html', compact('userMessage'));
```
---
### Authentication Code
#### Authentication Step 1:
Expand Down Expand Up @@ -387,6 +393,14 @@ try {
echo View::make('template/location/u2f-authentication-result.html', compact('userMessage'));
```

---

Again, if you want to just download some example code to play with just install the full working code examples written for this repository please see [the dedicated example repository](https://github.com/Samyoul/U2F-php-server-examples)

You can also install it with the following:

`composer require samyoul/u2f-php-server-examples`

## Frameworks

### Laravel Framework
Expand Down

0 comments on commit bcb4ccf

Please sign in to comment.