Skip to content

Commit

Permalink
fix(docs): minor proper english revisions (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowlion authored and pi0 committed Jun 11, 2018
1 parent 9ead681 commit 619184b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/schemes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Schemes and Strategies

Schemes define authentication logic. Strategy is a configurated instance of Scheme. You can have multiply schemes and strategies in your project.
Schemes define authentication logic. Strategy is a configurated instance of Scheme. You can have multiple schemes and strategies in your project.

`auth.strategies` option is an object. Keys are strategy name and values are configuration.

Expand All @@ -13,7 +13,7 @@ auth: {
}
```

By default, **instance name is same as scheme name**. If you want more flexibility by providing your own scheme or having multi instances of the same scheme you can use `_scheme` property:
By default, **instance names are the same as scheme names**. If you want more flexibility by providing your own scheme or having multiple instances of the same scheme you can use the `_scheme` property:

```js
auth: {
Expand All @@ -25,4 +25,4 @@ auth: {
}
```

👉 Now that you have idea what are schemes and strategies, you can configure default [Local Scheme](local.md) or use a [Provider](../providers/README.md).
👉 Now that you have an idea what schemes and strategies are, you can configure the default [Local Scheme](local.md) or use a [Provider](../providers/README.md).

0 comments on commit 619184b

Please sign in to comment.