Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ba3dfae9
Commit
ba3dfae9
authored
Nov 13, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ashmckenzie/hmac-token-decode-and-tests' into ce-to-ee-2018-11-13
parents
964672f3
e39eb1f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
ee/changelogs/unreleased/ashmckenzie-hmac-token-decode-and-tests.yml
...gs/unreleased/ashmckenzie-hmac-token-decode-and-tests.yml
+5
-0
ee/lib/json_web_token/hmac_token.rb
ee/lib/json_web_token/hmac_token.rb
+0
-13
No files found.
ee/changelogs/unreleased/ashmckenzie-hmac-token-decode-and-tests.yml
0 → 100644
View file @
ba3dfae9
---
title
:
Move JSONWebToken::HMACToken out from EE
merge_request
:
8353
author
:
type
:
changed
ee/lib/json_web_token/hmac_token.rb
deleted
100644 → 0
View file @
964672f3
module
JSONWebToken
class
HMACToken
<
Token
def
initialize
(
secret
)
super
()
@secret
=
secret
end
def
encoded
JWT
.
encode
(
payload
,
@secret
,
'HS256'
)
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment