Skip to content

Commit 6049d57

Browse files
committed
nitpicks in docs
1 parent 0402830 commit 6049d57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/token-authentication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $tokenAuthentication = new TokenAuthentication(
2424
Sign a URL.
2525

2626
```php
27-
// Root directory.
27+
// File in root directory.
2828
$tokenAuthentication->sign(
2929
file: '/bunny.jpg',
3030
expirationTime: 3600,
@@ -38,7 +38,7 @@ $tokenAuthentication->sign(
3838
allowSubnet: true
3939
);
4040

41-
// Subdirectory.
41+
// File in subdirectory.
4242
$tokenAuthentication->sign(
4343
file: '/css/custom.css',
4444
);
@@ -101,8 +101,8 @@ $tokenAuthentication->sign(
101101
- In order to reduce the false negatives (and increase privacy) for Token IP validation, the default is to
102102
allow the full `/24` subnet. As an example, a token signed for a user with IPv4 `12.345.67.89` will allow
103103
`12.345.67.0/24` to access the resource.
104-
- The `countriesAllowed`, `countriesBlocked` and `countriesBlocked` accept comma separated input. This means
105-
you could allow or block multiple countries like so: `US,DE,JP`. Same goes for referers: `example.com,example.org`.
104+
- The arguments `countriesAllowed`, `countriesBlocked` and `referrersAllowed` accept comma separated input. This means
105+
you could allow or block multiple countries like so: `US,DE,JP`. Same goes for the allowed referers: `example.com,example.org`.
106106
- An edge case occurs when you add a blocked country to the Traffic Manager, and allow that same country for
107107
token authentication. This will result in a standard **"Unable to connect"** page. According to support *"The reason for
108108
that would be is due to the fact that the Traffic manager doesn't resolve

0 commit comments

Comments
 (0)