easy_jwt_auth 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/easy_jwt_auth.gemspec +2 -2
- data/lib/easy_jwt_auth/version.rb +1 -1
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d7d4e6de63b1fff608364eaabfe5ec5ad08b3f6
|
4
|
+
data.tar.gz: 2e3740155792eb5a45253382a4b12f2b7060e8d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bcc2b08c0bf10d911bced8b33e5977e99a39b2852a10fa62789a5e98f59ab0f8fbbb8e9a1c20ab7a90dedcc239308f42a2e6509279ffa003f8f6502f568d209
|
7
|
+
data.tar.gz: b56e8ed1e1822122af953bed42369870a9875e0131532844d48efcd8034beb7e368cba83f7d427177d0eb1345e2ce927d91e4b5031df87121ed1e2d3615aeda0
|
data/easy_jwt_auth.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Pantelis Vratsalis"]
|
10
10
|
spec.email = ["pvratsalis@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
12
|
+
spec.summary = %q{Welcome to EasyJwtAuth! EasyJwtAuth is a ruby gem that allows easy use of JWT tokens in any ruby project or rails application, typically for authenticating and authorizing requests.}
|
13
|
+
spec.description = %q{A typical usecase of JWT tokens is when building an API. JWT tokens can be sent as authorization tokens in headers. The advantage of using JWT tokens is that they are signed with a secret, so the information inside them cannot be tampered. This makes them ideal for embeding both authentication and authorization information in one step (e.g. by "decoding" the token, one can get information about the user and the roles a user has in case of a role-based authorization). Also, the fact that expiration timestamps can be embedded in the data of the token and be handled automatically, can be used to easily build short-lived tokens, making an API more secure.}
|
14
14
|
spec.homepage = "https://github.com/m1lt0n/easy_jwt_auth"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_jwt_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pantelis Vratsalis
|
@@ -66,9 +66,15 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.5'
|
69
|
-
description:
|
70
|
-
|
71
|
-
|
69
|
+
description: A typical usecase of JWT tokens is when building an API. JWT tokens can
|
70
|
+
be sent as authorization tokens in headers. The advantage of using JWT tokens is
|
71
|
+
that they are signed with a secret, so the information inside them cannot be tampered.
|
72
|
+
This makes them ideal for embeding both authentication and authorization information
|
73
|
+
in one step (e.g. by "decoding" the token, one can get information about the user
|
74
|
+
and the roles a user has in case of a role-based authorization). Also, the fact
|
75
|
+
that expiration timestamps can be embedded in the data of the token and be handled
|
76
|
+
automatically, can be used to easily build short-lived tokens, making an API more
|
77
|
+
secure.
|
72
78
|
email:
|
73
79
|
- pvratsalis@gmail.com
|
74
80
|
executables: []
|
@@ -114,6 +120,7 @@ rubyforge_project:
|
|
114
120
|
rubygems_version: 2.5.1
|
115
121
|
signing_key:
|
116
122
|
specification_version: 4
|
117
|
-
summary:
|
118
|
-
|
123
|
+
summary: Welcome to EasyJwtAuth! EasyJwtAuth is a ruby gem that allows easy use of
|
124
|
+
JWT tokens in any ruby project or rails application, typically for authenticating
|
125
|
+
and authorizing requests.
|
119
126
|
test_files: []
|