soar_authentication 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/README.md +1 -1
- data/lib/soar_authentication/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2626831f860d04c09514a483a837c590e98b1469
|
|
4
|
+
data.tar.gz: d495c02a807401ed4161c272d7705b7bbe6f3eb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b8ec5853def0a2e4f65adcd94e9f73c6f8842a281538657bc055ae49343610c2b9922159a989ea834bc284e4d595b402d95989c094a841270826974ddab288f
|
|
7
|
+
data.tar.gz: 70a64ba7c2aaf20844409935510bb86248f901788a7151bf9e158265bac34d4133974a69e2670d2e192094f7f90a7a8536afe77c1eeed92e35b33015f9873283
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SoarAuthentication
|
|
2
2
|
|
|
3
|
-
This middleware will refuse unauthenticated requests. Refusal means a 401 response code with a message indicating authentication failure. Requests are unauthenticaed if request.session['user'] is not set. Your authentication strategy can authenticate the request by
|
|
3
|
+
This middleware will refuse unauthenticated requests. Refusal means a 401 response code with a message indicating authentication failure. Requests are unauthenticaed if request.session['user'] is not set. Your authentication strategy can authenticate the request by setting request.session['user']. If ENV['RACK_ENV'] == 'development', authentication will always be approved. The SoarAuthentication::Authentication class can interpret a request, tell if its authenticated and which identifier was used. If ENV['RACK_ENV'] == 'development' asking for the identifier will yield 'developer'
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|