@contler/login
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "@contler/login", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "tslib": "^2.3.0" |
# login-contler | ||
This library was generated with [Nx](https://nx.dev). | ||
The `login-contler` library provides a seamless authentication experience for users by integrating with Contler API. It enables users to authenticate using their Contler credentials, ensuring secure access to Contler services. | ||
## Building | ||
## Setup | ||
Run `nx build login-contler` to build the library. | ||
Install library with npm `npm install @contler/login` | ||
## Running unit tests | ||
## Usage | ||
Run `nx test login-contler` to execute the unit tests via [Jest](https://jestjs.io). | ||
Import the library in your application and use the `getContlerUser` method to authenticate users. | ||
```typescript | ||
import {getContlerUser} from '@contler/login'; | ||
... | ||
getContlerUser({environment: 'qa'}).then(data => console.log(data)) | ||
``` |
5632
21