Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Update docs for makeQuery #1246

Merged
merged 2 commits into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion api/authentication/oauth1.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ Registering the OAuth1 plugin will automatically set up routes to handle the OAu
session: true, // whether to use sessions,
handler: function, // Express middleware for handling the oauth callback. Defaults to the built in middleware.
formatter: function, // The response formatter. Defaults the the built in feathers-rest formatter, which returns JSON.
Verifier: Verifier // A Verifier class. Defaults to the built-in one but can be a custom one. See below for details.
Verifier: Verifier, // A Verifier class. Defaults to the built-in one but can be a custom one. See below for details.
makeQuery: function // Makes query for finding an existing user. Defaults to (profile, options) => ({ [options.idField]: profile.id })
}
```

Expand Down
3 changes: 2 additions & 1 deletion api/authentication/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ Registering the OAuth2 plugin will automatically set up routes to handle the OAu
handler: middleware, // Express middleware for handling the oauth callback. Defaults to the built in middleware.
errorHandler: middleware, // Express middleware for handling errors. Defaults to the built in middleware.
formatter: middleware, // The response formatter middleware. Defaults to the the built in feathers-rest formatter, handling only JSON.
Verifier: Verifier // A Verifier class. Defaults to the built-in one but can be a custom one. See below for details.
Verifier: Verifier, // A Verifier class. Defaults to the built-in one but can be a custom one. See below for details.
makeQuery: function // Makes query for finding an existing user. Defaults to (profile, options) => ({ [options.idField]: profile.id })
}
```

Expand Down