simple_jwt_auth 0.1.3 → 0.1.4
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/README.md +2 -1
- data/app/controllers/users_controller.rb +8 -0
- data/config/routes.rb +1 -0
- data/lib/simple_jwt_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6053fd30a7009d6dfd60acf15685ce90dfa7d71e7461516d73962a115607a8
|
4
|
+
data.tar.gz: f8ce064539c2c1419e015a2d18cf0117045046a02bc0877ef4f7de24a7986db6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b7ca7686a3c758ce56d29483810aaae5d0b5ddc6c17918eda5c523b85d5d554d017a9cee4f1b43765f5ddae5a5c9d2fa9af1bb920f9228e73a529fe1d1e7de
|
7
|
+
data.tar.gz: 010b968f1b46d55c57c61eec852f0264a022468894afff557ce81bca370b2df6f4ffe546707e18ec920a6f9626c950108ef7973f51d180145cb1b7965035ce71
|
data/README.md
CHANGED
@@ -43,6 +43,7 @@ with email and password as params.
|
|
43
43
|
|
44
44
|
#### Logged in
|
45
45
|
Add header called "Authorization" and set it to "Bearer #your-jwt-token-here" include this in any request you want the user to be logged in for.
|
46
|
-
|
46
|
+
A GET request can then be made to https://localhost:3000/auth/user to return the current user object.
|
47
|
+
|
47
48
|
## License
|
48
49
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_jwt_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- brye
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|