1.0.0 • Published 7 years ago

@athenz/zpe-client v1.0.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

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