Skip to content

Commit c75297a

Browse files
committed
:octocat:
1 parent c509ceb commit c75297a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ A generator for counter based ([RFC 4226](https://tools.ietf.org/html/rfc4226))
99

1010
[license-badge]: https://img.shields.io/github/license/chillerlan/php-authenticator.svg
1111
[license]: https://github.com/chillerlan/php-authenticator/blob/v5.x/LICENSE
12-
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-authenticator/ci.yml?branch=v5.x&logo=github
12+
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-authenticator/ci.yml?branch=v5.x&logo=github&logoColor=fff
1313
[gh-action]: https://github.com/chillerlan/php-authenticator/actions?query=branch%3Av5.x
14-
[coverage-badge]: https://img.shields.io/codecov/c/gh/chillerlan/php-authenticator/v5.x?logo=codecov
14+
[coverage-badge]: https://img.shields.io/codecov/c/gh/chillerlan/php-authenticator/v5.x?logo=codecov&logoColor=fff
1515
[coverage]: https://app.codecov.io/github/chillerlan/php-authenticator/tree/v5.x
16-
[codacy-badge]: https://img.shields.io/codacy/grade/a2793225b448495c9659f27f7f52380a/v5.x?logo=codacy
16+
[codacy-badge]: https://img.shields.io/codacy/grade/a2793225b448495c9659f27f7f52380a/v5.x?logo=codacy&logoColor=fff
1717
[codacy]: https://www.codacy.com/gh/chillerlan/php-authenticator/dashboard?branch=v5.x
1818

1919
# Documentation
2020
## Requirements
2121
- PHP 8.2+
22-
- [`ext-curl`](https://www.php.net/manual/book.curl) for Battle.net and Steam Guard server time synchronization
23-
- [`ext-gmp`](https://www.php.net/manual/book.gmp) for Battle.net authenticator secret retrieval (RSA encryption)
22+
- [`ext-curl`](https://www.php.net/manual/book.curl) for Steam Guard server time synchronization
2423
- [`ext-sodium`](https://www.php.net/manual/book.sodium) for constant time implementations of base64 encode/decode and hex2bin/bin2hex
2524
([`paragonie/constant_time_encoding`](https://github.com/paragonie/constant_time_encoding) is used as fallback)
2625

@@ -29,7 +28,7 @@ A generator for counter based ([RFC 4226](https://tools.ietf.org/html/rfc4226))
2928

3029
via terminal: `composer require chillerlan/php-authenticator`
3130

32-
*composer.json* (note: replace `dev-v5.x` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^5.0` - see [releases](https://github.com/chillerlan/php-authenticator/releases) for valid versions)
31+
**composer.json**
3332
```json
3433
{
3534
"require": {
@@ -38,6 +37,7 @@ via terminal: `composer require chillerlan/php-authenticator`
3837
}
3938
}
4039
```
40+
Note: replace `dev-main` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^5.0` - see [releases](https://github.com/chillerlan/php-authenticator/releases) for valid versions
4141

4242
Profit!
4343

@@ -168,7 +168,6 @@ $options->algorithm = AuthenticatorInterface::ALGO_SHA512;
168168
| `TOTP` | `string` | |
169169
| `HOTP` | `string` | |
170170
| `STEAM_GUARD` | `string` | |
171-
| `BATTLE_NET` | `string` | |
172171
| `ALGO_SHA1` | `string` | |
173172
| `ALGO_SHA256` | `string` | |
174173
| `ALGO_SHA512` | `string` | |

0 commit comments

Comments
 (0)