@onemedia/auth-client
v1.8.0
Published
Extracts common functionality for interacting with the Onemedia Auth Service.
Downloads
14
Readme
Auth Service - Client Library
Extracts common functionality for interacting with the Onemedia Auth Service.
const AuthClient = require('@onemedia/auth-client');
Table of Contents
Requirements
- [Node.js][node] 18+
- [npm][npm] (normally comes with Node.js)
Usage
@onemedia/auth-client
is installed via [npm][npm]:
npm install @onemedia/auth-client
// General purpose
import AuthClient from '@onemedia/auth-client';
// Admin only functions
import { AdminClient } from '@onemedia/auth-client/admin';