Module: Gitlab::JwtAuthenticatable

Included in:
Kas, Pages, Workhorse
Defined in:
lib/gitlab/jwt_authenticatable.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

SECRET_LENGTH =

Supposedly the effective key size for HMAC-SHA256 is 256 bits, i.e. 32 bytes tools.ietf.org/html/rfc4868#section-2.6

32

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


9
10
11
# File 'lib/gitlab/jwt_authenticatable.rb', line 9

def self.included(base)
  base.extend(ClassMethods)
end