can-connect-feathers
Version:
Feathers client library for DoneJS and can-connect
22 lines (15 loc) • 751 B
Markdown
{FeathersClient} can-connect-feathers/service/service.options.feathersClient feathersClient
can-connect-feathers/session/session.options
{FeathersClient}
Specifies a FeathersClient instance to use for authentication. The [/authentication-client](https://docs.feathersjs.com/api/authentication/client.html) is required. See the [can-connect-feathers] page for an example Feathers Client configuration.
```js
// Bring in the feathers client instance.
import feathersClient from "./feathers";
connect( [
feathersSession
], {
// Pass the feathers client as the `feathersClient` property.
feathersClient: feathersClient
} );
```
See [can-connect-feathers/session/session] for a complete Session Model example.