Skip to content

Commit f098653

Browse files
committed
Add config documentation
1 parent 375ac71 commit f098653

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ public function registerBundles()
2727
);
2828
}
2929
```
30+
#### Configuration
31+
You can change how the API key should be delivered and the name of the parameter its sent as. By default, this bundle looks for `api_key` in the query string.
32+
33+
```yaml
34+
uecode_api_key:
35+
delivery: query #or header
36+
parameter: some_value # defaults to `api_key`
37+
```
38+
3039
#### Entities
3140
3241
Assuming you already have a `User` class that extends the `FOSUserBundle`'s base user model,

0 commit comments

Comments
 (0)