rack-bearer_auth 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +9 -0
- data/lib/rack/bearer_auth/middleware.rb +2 -0
- data/lib/rack/bearer_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: 0565a4941f4f03c29d78b554a5e76efcce960817aba7dcb2f0c5847852e54581
|
4
|
+
data.tar.gz: 42e1559aaf10510f8e894553594a40005283542d8e8c25dbdc3fddc9abb79874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738150271acbe8f82bddf0fe4aa257a03df761c6935a2a2bb2ecd4d5f3c4e6b26e8dc773d1223ab4b14c7858500c6d37da3c71c41094dde48d5df053d03cf318
|
7
|
+
data.tar.gz: a7a7ea1270a0629d8b244efa483cf1b87b18c86cb743271b2deceb4787b029509bf234eade753cdce9529e7412039a07b61eb1b2e777c6beb7ad80e05f325a0d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Rack::BearerAuth is middleware that make using [RFC 6750](https://tools.ietf.org/html/rfc6750) bearer auth in Rack apps.
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/rack-bearer_auth.svg)](https://badge.fury.io/rb/rack-bearer_auth)
|
5
6
|
[![Build Status](https://travis-ci.org/yujideveloper/rack-bearer_auth.svg?branch=master)](https://travis-ci.org/yujideveloper/rack-bearer_auth)
|
6
7
|
[![Maintainability](https://api.codeclimate.com/v1/badges/db47f9a4e48bd30edb98/maintainability)](https://codeclimate.com/github/yujideveloper/rack-bearer_auth/maintainability)
|
7
8
|
|
@@ -63,6 +64,14 @@ end
|
|
63
64
|
|
64
65
|
```
|
65
66
|
|
67
|
+
### Configration reference
|
68
|
+
|
69
|
+
#### matching options
|
70
|
+
|
71
|
+
* `path` (`String`, `Regexp`, `Proc` , `Array`): The HTTP request path matches for the resource.
|
72
|
+
* `via` (`Symbol`, `String`, `Regexp`, `Proc` , `Array`, `:all`): The HTTP request method matchs for the resource.
|
73
|
+
* `token` (`String`, `Regexp`, `Proc` , `Array`): The access token for the resource.
|
74
|
+
|
66
75
|
## Restrictions
|
67
76
|
|
68
77
|
* [Form-Encoded Body Parameter(RFC 6750 section 2.2)](https://tools.ietf.org/html/rfc6750#section-2.2) is not supported.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-bearer_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
|
- Yuji Hanamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|