facebook_digit_auth 1.0.1.pre.beta → 1.1.0
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 +51 -6
- data/lib/facebook_digit_auth/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa1a8d524a806e1286b9b16aeb87bb4292aa4913
|
4
|
+
data.tar.gz: c6799f58dea58540e9f83b71b62d06bf33530ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd968b07c2d1c8cbf36514da154059e36e56e9010d34575a49189c6378b6bd6d12e5e946fc482dbef2278cd58e8a83c5e9d89844f0303ed7ec73e4325c2bc5e
|
7
|
+
data.tar.gz: 725af326d3af80223db940fa926c47051c25545902e64f90359c96a7e1839ce4736888ca6e082b6626a2b612969df8bcc2d50dfe570190d853e9e41daba8735d
|
data/README.md
CHANGED
@@ -4,6 +4,11 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
4
4
|
|
5
5
|
TODO: Delete this and the text above, and describe your gem
|
6
6
|
|
7
|
+
|
8
|
+
## Why **facebook_digit_auth** gem?
|
9
|
+
|
10
|
+
This gem is used once you are planning for facebook and twitter digits authentication together in same application so in case you just need to use same method with different parameters.
|
11
|
+
|
7
12
|
## Installation
|
8
13
|
|
9
14
|
Add this line to your application's Gemfile:
|
@@ -22,20 +27,60 @@ Or install it yourself as:
|
|
22
27
|
|
23
28
|
## Usage
|
24
29
|
|
25
|
-
|
30
|
+
Use **FacebookDigitAuth::BestAuth.test_method(param1,param2)** where as:
|
26
31
|
|
27
|
-
|
32
|
+
* **Facebook**
|
28
33
|
|
29
|
-
|
34
|
+
params1 => facebook_access_token
|
35
|
+
|
36
|
+
`'EAAUQ633PzJwBAMyJnK3khk3RwAEggYWEm85uxTX4DVaMnD4olDysgbZCu8P1ZAONh4lZBBJblgx4IyNXsBkp5d7ZA8EKC8MjKHFt4Itsm1iBCz8gtx9nmH9Lw69XUA0GUcKrTNX2iy5Df5BQiAXZBszBETUATGdGu56SPVUTZCPoQlDbZAP....'`
|
37
|
+
|
38
|
+
params2 => 'facebook'
|
39
|
+
|
40
|
+
* **Twitter Digits**
|
41
|
+
|
42
|
+
params1 => digits_header
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
{
|
47
|
+
|
48
|
+
"auth_token":"743735703008272389-xoZTF1F1ajFn6Tqjcv.....",
|
30
49
|
|
31
|
-
|
50
|
+
"auth_token_secret":"84XDFJHS2gb6yFcMMv9ffhIlC6fl....",
|
32
51
|
|
33
|
-
|
52
|
+
"user_id":"308756..",
|
53
|
+
|
54
|
+
"number":"+91...",
|
55
|
+
|
56
|
+
"auth_headers": {
|
57
|
+
|
58
|
+
"X-Verify-Credentials-Authorization":
|
59
|
+
"OAuth oauth_timestamp=147733...,
|
60
|
+
oauth_version=1.0,
|
61
|
+
oauth_consumer_key=6V...,
|
62
|
+
oauth_signature=vscqs9...,
|
63
|
+
oauth_token=743735703008272389-xo...,
|
64
|
+
oauth_nonce=06027150-145..,
|
65
|
+
oauth_signature_method=HMAC-SHA1",
|
66
|
+
|
67
|
+
"X-Auth-Service-Provider": "https://api.digits.com/1.1/sdk/account.json"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
params2 => 'digit'
|
72
|
+
|
73
|
+
|
74
|
+
## Development
|
75
|
+
|
76
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
34
77
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/facebook_digit_auth. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
78
|
|
37
79
|
|
38
80
|
## License
|
39
81
|
|
40
82
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
83
|
|
84
|
+
|
85
|
+
|
86
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebook_digit_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RaghavSingh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,9 +101,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- - "
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
106
|
+
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 2.5.1
|