lib/manager.js
function Manager(options) {
  this.roleGetters_ = {};
  this.entityGetters_ = {};
  this.actionDefs_ = {};
  this.options = {
    pauseStream: true
  };
  if (options) {
    for (var option in this.options) {
      if (options.hasOwnProperty(option)) {
        this.options[option] = options[option];
      }
    }
  }
}
function Manager(options) {
  this.roleGetters_ = {};
  this.entityGetters_ = {};
  this.actionDefs_ = {};
  this.options = {
    pauseStream: true
  };
  if (options) {
    for (var option in this.options) {
      if (options.hasOwnProperty(option)) {
        this.options[option] = options[option];
      }
    }
  }
}
function Manager ( options ) { this . roleGetters_ = { } ; this . entityGetters_ = { } ; this . actionDefs_ = { } ; this . options = { pauseStream : true } ; if ( options ) { for ( var option in this . options ) { if ( options . hasOwnProperty ( option ) ) { this . options [ option ] = options [ option ] ; } } } }
Create a new authorization manager.
@param {Object} options Manager options.
* pauseStream {boolean} Pause the request body stream while checking
authorization (default is `true`).
@constructor
Create a new authorization manager .