lib/strategy.js
function Strategy(options, verify) {
  if (typeof options == 'function') {
    verify = options;
    options = {};
  }
  if (!verify) throw new Error('OAuth 2.0 client password strategy requires a verify function');

  passport.Strategy.call(this);
  this.name = 'oauth2-client-password';
  this._verify = verify;
  this._passReqToCallback = options.passReqToCallback;
}
function Strategy(options, verify) {
  if (typeof options == 'function') {
    verify = options;
    options = {};
  }
  if (!verify) throw new Error('OAuth 2.0 client password strategy requires a verify function');

  passport.Strategy.call(this);
  this.name = 'oauth2-client-password';
  this._verify = verify;
  this._passReqToCallback = options.passReqToCallback;
}
function Strategy ( options , verify ) { if ( typeof options == 'function' ) { verify = options ; options = { } ; } if ( ! verify ) throw new Error ( 'OAuth 2.0 client password strategy requires a verify function' ) ; passport . Strategy . call ( this ) ; this . name = 'oauth2-client-password' ; this . _verify = verify ; this . _passReqToCallback = options . passReqToCallback ; }
`ClientPasswordStrategy` constructor.

@api protected
ClientPasswordStrategy constructor .