1.2.3 • Published 6 years ago

@lodgify/identity-server-client v1.2.3

Weekly downloads
51
License
MIT
Repository
github
Last release
6 years ago

Identity server client

A client for interacting with the Lodgify's identity server quickly and easily!

Install

$ npm install @lodgify/identity-server-client

Usage

import { postLogin } from '@lodgify/identity-server-client';

const websiteId = 123456;

postLogin(websiteId, {
  email: "bruce@wayneenterprises.com",
  password: "IAmBatman",
  websiteId
});

Note!

identity-server-client relies on the IDENTITY_SERVER_HOST environment variable to be set if you want to hit a different development environment (staging or integration). Without it the domain will the live environment's.

The server host should be set at the following location global.process.env.IDENTITY_SERVER_HOST.

Contributing

See contributing.

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago