@athenz/zpe-client

1.0.0 • Public • Published

zpe-nodejs-client

AuthNG ZPE client lib to perform data plane authorization for client requests

Contents

Summary

This is the ZPE(AuthZ Policy Engine) front-end API to perform client access authorization to resources.

The implementation is thread safe.

Details

--- Customizing configuration settings ---

The application can change these values by adding a following configuration file, and the file should be a module which exports a function returns the configuration object

File path:

process.cwd() + '/config/config.js'

Configuration object:

module.exports = function() {
  return {
    logLevel: 'debug',
    policyDir: '/home/athenz/var/zpe',
    tokenRefresh: 1800,
    policyRefresh: 1800,
    allowedOffset: '300',
    disableCache: false
  };
};

License

Licensed under the Apache License, Version 2.0

Readme

Keywords

Package Sidebar

Install

npm i @athenz/zpe-client

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • athenz