diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-11-24 14:39:12 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-12-16 16:29:32 +0530 |
commit | dc95bcbb165289d9754e6bf66288c8d4350f6e57 (patch) | |
tree | d291882e52f9311cec4bc57a24e54700f35fbe2f /lib/api/snippets.rb | |
parent | 990ae6b8e5f2797a6c168f9c16a725a159570058 (diff) | |
download | gitlab-ce-dc95bcbb165289d9754e6bf66288c8d4350f6e57.tar.gz |
Refactor access token validation in `Gitlab::Auth`
- Based on @dbalexandre's review
- Extract token validity conditions into two separate methods, for
personal access tokens and OAuth tokens.
Diffstat (limited to 'lib/api/snippets.rb')
0 files changed, 0 insertions, 0 deletions