Skip to content

Commit

Permalink
note about deprecation for 3.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 30, 2017
1 parent 1cf8b32 commit cce3b4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/helpers/client_schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ module.exports = function getSchema(provider) {

class Schema {
constructor(metadata) {
metadata = _.omitBy(metadata, _.isNull);
// TODO: DEPRECATE the following line in 3.0;
metadata = _.omitBy(metadata, _.isNull); // eslint-disable-line no-param-reassign

// unless explicitly provided use token_* values
['revocation', 'introspection'].forEach((endpoint) => {
if (metadata[`${endpoint}_endpoint_auth_method`] === undefined) {
Expand Down

0 comments on commit cce3b4e

Please sign in to comment.