Skip to content

Conversation

@dinoboff
Copy link

@dinoboff dinoboff commented Aug 3, 2017

Adds trustProxy option to HMAC_SHA1 and Provider constructor.

It overloads the Provider constructor with the third argument being either a nonceStore or an options object (for a nonceStore, a signer and the trustProxy flag):

new Provider(key: string, secret: string, options: NonceStore|{nonceStore: NonceStore, trustProxy: boolean, signer: Algo}, signer: Algo)

@dinoboff dinoboff force-pushed the fix/67 branch 3 times, most recently from fe6f66c to 4e31b36 Compare August 3, 2017 23:58
@coveralls
Copy link

coveralls commented Aug 4, 2017

Coverage Status

Changes Unknown when pulling 4e31b36 on dinoboff:fix/67 into ** on omsmith:master**.

@dinoboff dinoboff force-pushed the fix/67 branch 2 times, most recently from bb92b1a to 420de9d Compare August 4, 2017 10:13
@coveralls
Copy link

coveralls commented Aug 4, 2017

Coverage Status

Changes Unknown when pulling 420de9d on dinoboff:fix/67 into ** on omsmith:master**.

@coveralls
Copy link

coveralls commented Aug 4, 2017

Coverage Status

Changes Unknown when pulling 420de9d on dinoboff:fix/67 into ** on omsmith:master**.

@coveralls
Copy link

coveralls commented Aug 4, 2017

Coverage Status

Changes Unknown when pulling a2b1ed5 on dinoboff:fix/67 into ** on omsmith:master**.

@dinoboff
Copy link
Author

dinoboff commented Aug 4, 2017

Ready for review.

Note that it's my first PR using coffee script; please point to missing coffeeish idioms.

@dinoboff
Copy link
Author

dinoboff commented Aug 4, 2017

I published it as a scoped package: https://www.npmjs.com/package/@dinoboff/ims-lti (I don't think npm can install the fork directly from github).

Adds `trustProxy` option to HMAC_SHA1 and Provider constructor.

It overloads the Provider constructor with the third argument being either a nonceStore or an options object (for a nonceStore, a signer and the trustProxy flag):

    new Provider(key: string, secret: string, options: NonceStore|Options, signer: Algo)
@coveralls
Copy link

coveralls commented Aug 17, 2017

Coverage Status

Changes Unknown when pulling 72c513a on dinoboff:fix/67 into ** on omsmith:master**.

@isaacagudo
Copy link

@dinoboff, thanks for your contribution. I tried to solve the issue checking the header before noticing your pull request. I think we need a more stable node library (I have nothing against Coffee, only that I haven't used it before).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants