Commit ba3dfae9 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'ashmckenzie/hmac-token-decode-and-tests' into ce-to-ee-2018-11-13

parents 964672f3 e39eb1f9
---
title: Move JSONWebToken::HMACToken out from EE
merge_request: 8353
author:
type: changed
module JSONWebToken
class HMACToken < Token
def initialize(secret)
super()
@secret = secret
end
def encoded
JWT.encode(payload, @secret, 'HS256')
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment