Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add minor proper english revisions #200

Merged
merged 1 commit into from
Jun 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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).