lp_token_auth 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -2
- data/lib/lp_token_auth/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 59c0d31cd9c148207586c1f0c31022d4575cda78cf5df1563d430e23bd0841f6
|
4
|
+
data.tar.gz: af9418070c5b8a6d13d9a39e47a836373491958eb35a84af4409cdc498f6fdbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1aa825486f5c3468eb1de6ddc876dc513b2ebb4a48342303a055aa014e56c8e78caefae5e916707c3398a4689f6dfde0bf3ca9fc6e0c5186564f8261c23f4b
|
7
|
+
data.tar.gz: 8e80ae686d1778a1518cc0c48d9b7818ad19e927be3c77a8ce4b99cf3515e011fa99b3cde4b49a813931261810bb6911028172db1c8db5d1ad94af8fbca21727
|
data/README.md
CHANGED
@@ -39,10 +39,10 @@ Or install it yourself as:
|
|
39
39
|
|
40
40
|
def authenticate_request
|
41
41
|
authenticate_request!('AdminUser')
|
42
|
-
end
|
42
|
+
end
|
43
43
|
end
|
44
44
|
```
|
45
|
-
+ `
|
45
|
+
+ `authenticate_token!(token)` - This is called by `authenticate_request!` but is available to use if you ever need to manually authenticate a token.
|
46
46
|
+ `current_user` - This returns the current user identified by `authenticate!`. It is available after logging in the user or authenticating.
|
47
47
|
3. All errors will return an instance of `LpTokenAuth::Error`
|
48
48
|
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lp_token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Corwin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2017-02-03 00:00:00.000000000 Z
|
@@ -92,7 +92,7 @@ homepage: https://github.com/launchpadlab/lp_token_auth
|
|
92
92
|
licenses:
|
93
93
|
- MIT
|
94
94
|
metadata: {}
|
95
|
-
post_install_message:
|
95
|
+
post_install_message:
|
96
96
|
rdoc_options: []
|
97
97
|
require_paths:
|
98
98
|
- lib
|
@@ -107,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
|
111
|
-
|
112
|
-
signing_key:
|
110
|
+
rubygems_version: 3.1.4
|
111
|
+
signing_key:
|
113
112
|
specification_version: 4
|
114
113
|
summary: Auth!
|
115
114
|
test_files: []
|