telesign 2.4.0 → 3.0.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/lib/telesign/constants.rb +1 -1
- metadata +5 -6
- data/lib/telesign/appverify.rb +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b464111b923a8b51ee8d9e11609f874174afe64fd073a63f6a9854a0eb43d6b
|
|
4
|
+
data.tar.gz: 364fe4d524659006e368f902d8a078b038326aa963707e43cc53606560eff922
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09edadafb818b4eba5a52c64d4c7763400c5fccbb9236bf4933ca236d380ea958b825246bb82f945638608ceb82c0c24148417c15c9a476eed370295f226a900'
|
|
7
|
+
data.tar.gz: 2b4bcdd17a639733d7bc66ec2de1ed7106936476b2cc0564ae0038a6b8cc1ddcf4311deaf6c36ea370e0c36ab23b0910a9a649f71ebb340f3df9ef39290d78a8
|
data/lib/telesign/constants.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telesign
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telesign
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2017-05-25 00:00:00.000000000 Z
|
|
@@ -135,7 +135,6 @@ extensions: []
|
|
|
135
135
|
extra_rdoc_files: []
|
|
136
136
|
files:
|
|
137
137
|
- lib/telesign.rb
|
|
138
|
-
- lib/telesign/appverify.rb
|
|
139
138
|
- lib/telesign/constants.rb
|
|
140
139
|
- lib/telesign/messaging.rb
|
|
141
140
|
- lib/telesign/phoneid.rb
|
|
@@ -147,7 +146,7 @@ homepage: http://rubygems.org/gems/telesign
|
|
|
147
146
|
licenses:
|
|
148
147
|
- MIT
|
|
149
148
|
metadata: {}
|
|
150
|
-
post_install_message:
|
|
149
|
+
post_install_message:
|
|
151
150
|
rdoc_options: []
|
|
152
151
|
require_paths:
|
|
153
152
|
- lib
|
|
@@ -162,8 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
161
|
- !ruby/object:Gem::Version
|
|
163
162
|
version: '0'
|
|
164
163
|
requirements: []
|
|
165
|
-
rubygems_version: 3.
|
|
166
|
-
signing_key:
|
|
164
|
+
rubygems_version: 3.0.3.1
|
|
165
|
+
signing_key:
|
|
167
166
|
specification_version: 4
|
|
168
167
|
summary: Telesign Ruby SDK
|
|
169
168
|
test_files: []
|
data/lib/telesign/appverify.rb
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
require 'telesign/rest'
|
|
2
|
-
|
|
3
|
-
APPVERIFY_STATUS_RESOURCE = '/v1/mobile/verification/status/%{external_id}'
|
|
4
|
-
|
|
5
|
-
module Telesign
|
|
6
|
-
|
|
7
|
-
# App Verify is a secure, lightweight SDK that integrates a frictionless user verification process into existing
|
|
8
|
-
# native mobile applications.
|
|
9
|
-
class AppVerifyClient < RestClient
|
|
10
|
-
|
|
11
|
-
# Retrieves the verification result for an App Verify transaction by external_id. To ensure a secure verification
|
|
12
|
-
# flow you must check the status using TeleSign's servers on your backend. Do not rely on the SDK alone to
|
|
13
|
-
# indicate a successful verification.
|
|
14
|
-
#
|
|
15
|
-
# See https://developer.telesign.com/docs/app-verify-android-sdk-self#section-get-status-service or
|
|
16
|
-
# https://developer.telesign.com/docs/app-verify-ios-sdk-self#section-get-status-service for detailed
|
|
17
|
-
# API documentation.
|
|
18
|
-
def status(external_id, **params)
|
|
19
|
-
|
|
20
|
-
self.get(APPVERIFY_STATUS_RESOURCE % {:external_id => external_id},
|
|
21
|
-
**params)
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|