node-authz-client
v1.4.5
Published
[PoC] Node Authz Client
Downloads
3,265
Readme
Description
A package for integration with authz service
Installation
You can install this package using npm:
npm install node-authz-client
Usage
import { Configuration, NodeAuthzClient } from 'node-authz-client';
(async () => {
const apiKey = 'abc';
const baseUrl = 'https://api.example.com';
const config = new Configuration(baseUrl, apiKey);
const nodeAuthzClient = new NodeAuthzClient(config);
const result = await nodeAuthzClient.createPermission({
name: 'kiki',
description: 'test',
});
console.log(result);
})();
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
(Latest) [1.4.5] - 2024-12-12
Add
- New API
GET /cms/users/detail
[1.4.0] - 2024-10-04
Fixed
- Change parameter for self sign order
- Change parameter for self sign verify order
[1.1.23] - 2024-10-04
Fixed
- Fix to make package compatible with node >= 16.0.0
[1.1.23] - 2024-09-25
Added
- Add
POST /apps/verify
to verify signature of request - Add
selfSignVerify
to verify signature of request (using self stored public key) - Add
selfSignCreate
to create signature of request (using self stored private key)
Fixed
- Fix problem where
undci
on Firebase package is not working related to https://github.com/nodejs/undici/issues/2512