Skip to content

Move JSONWebToken::HMACToken out from EE

What does this MR do?

JSONWebToken::HMACToken previously existed in ee/lib/json_web_token/hmac_token.rb but does not contain any EE specific logic and I'm planning on using it within CE. This MR does the following:

  • Moves JSONWebToken::HMACToken to lib/json_web_token/hmac_token.rb
  • Adds .decode()
  • Adds tests (there were none)

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/8114

Does this MR meet the acceptance criteria?

Edited by Ash McKenzie

Merge request reports