UNPKG

oidc-provider

Version:

OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect

11 lines (9 loc) 249 B
export default (object = {}, ...properties) => { const result = {}; properties.forEach((property) => { if (Object.prototype.hasOwnProperty.call(object, property)) { result[property] = object[property]; } }); return result; };