Commit graph

3 commits

Author SHA1 Message Date
Stan Hu
c6d7130f65 Set typ field in JSONWebToken::RSAToken
ruby-jwt v2.0 removed the `typ` header in
cc41d53e00.

To ensure tokens don't get marked invalid during an upgrade,
add it back to ensure backwards compatibility.
2018-12-29 07:37:08 -08:00
gfyoung
c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
Kamil Trzcinski
f4f9184a01 Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
Renamed from lib/jwt/rsa_token.rb (Browse further)