telesign 2.3.1__py2.py3-none-any.whl → 3.0.0__py2.py3-none-any.whl
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.
- {telesign-2.3.1.dist-info → telesign-3.0.0.dist-info}/METADATA +1 -1
- {telesign-2.3.1.dist-info → telesign-3.0.0.dist-info}/RECORD +5 -7
- telesign/appverify.py +0 -28
- telesign/intelligence.py +0 -39
- {telesign-2.3.1.dist-info → telesign-3.0.0.dist-info}/LICENSE.txt +0 -0
- {telesign-2.3.1.dist-info → telesign-3.0.0.dist-info}/WHEEL +0 -0
- {telesign-2.3.1.dist-info → telesign-3.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
telesign/__init__.py,sha256=D8kANX0FKxBD7-a7xQ21xPz3ojM2WAOK8lThGLtDZuE,367
|
|
2
|
-
telesign/appverify.py,sha256=wBeaeUxGmYcZkrbxkkXlG3-0oZr5sVvegzVpdvaoO2A,1195
|
|
3
|
-
telesign/intelligence.py,sha256=t-xwlgxkXw1OMupF5K4_UKWeTArOr9XPvddmqgZftPI,1452
|
|
4
2
|
telesign/messaging.py,sha256=v7l-eKUPqz7Nrwka0YNPMkC2TaoFUvQm3yp_djuTPu0,1367
|
|
5
3
|
telesign/phoneid.py,sha256=mk03NxL3wlaXpd8b-BB6q_SKfCxbtuTO19ayAHxmzz0,954
|
|
6
4
|
telesign/rest.py,sha256=AHNDyVZLa1vm2RWD4TSxr6uM4K50eH29C2Kjr3eCq8c,13911
|
|
7
5
|
telesign/score.py,sha256=Kceu6IrirN9SsuT1geEWs0QHAn6H9ZNFyIDVHcBJdwg,908
|
|
8
6
|
telesign/util.py,sha256=stDxpL5ZQeGskE_OSGP04UFHs3ZP2ACaRpW1WyQGMHg,1624
|
|
9
7
|
telesign/voice.py,sha256=DJaWyQpun-T7LfNjpxpsUjupiv2ShW1jqoFQA-CE2-Y,1341
|
|
10
|
-
telesign-
|
|
11
|
-
telesign-
|
|
12
|
-
telesign-
|
|
13
|
-
telesign-
|
|
14
|
-
telesign-
|
|
8
|
+
telesign-3.0.0.dist-info/LICENSE.txt,sha256=a--xZ4PCKUL5rpct8RrUC6ODU_8ZKIU51kJPfsA4HUs,1058
|
|
9
|
+
telesign-3.0.0.dist-info/METADATA,sha256=FbEOaOQ1w0LnFmiKDKo3SnGJKZ56Lf19ltUg83dYZ0g,4532
|
|
10
|
+
telesign-3.0.0.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
11
|
+
telesign-3.0.0.dist-info/top_level.txt,sha256=6LG7Jcr1jnpVhOWaIShoTdwYJn0QCfPhfudyVJNz1qg,9
|
|
12
|
+
telesign-3.0.0.dist-info/RECORD,,
|
telesign/appverify.py
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
from __future__ import unicode_literals
|
|
2
|
-
|
|
3
|
-
from telesign.rest import RestClient
|
|
4
|
-
|
|
5
|
-
APPVERIFY_STATUS_RESOURCE = "/v1/mobile/verification/status/{external_id}"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class AppVerifyClient(RestClient):
|
|
9
|
-
"""
|
|
10
|
-
App Verify is a secure, lightweight SDK that integrates a frictionless user verification process into existing
|
|
11
|
-
native mobile applications.
|
|
12
|
-
"""
|
|
13
|
-
|
|
14
|
-
def __init__(self, customer_id, api_key, **kwargs):
|
|
15
|
-
super(AppVerifyClient, self).__init__(customer_id, api_key, **kwargs)
|
|
16
|
-
|
|
17
|
-
def status(self, external_id, **params):
|
|
18
|
-
"""
|
|
19
|
-
Retrieves the verification result for an App Verify transaction by external_id. To ensure a secure verification
|
|
20
|
-
flow you must check the status using TeleSign's servers on your backend. Do not rely on the SDK alone to
|
|
21
|
-
indicate a successful verification.
|
|
22
|
-
|
|
23
|
-
See https://developer.telesign.com/docs/app-verify-android-sdk-self#section-get-status-service or
|
|
24
|
-
https://developer.telesign.com/docs/app-verify-ios-sdk-self#section-get-status-service for detailed
|
|
25
|
-
API documentation.
|
|
26
|
-
"""
|
|
27
|
-
return self.get(APPVERIFY_STATUS_RESOURCE.format(external_id=external_id),
|
|
28
|
-
**params)
|
telesign/intelligence.py
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"""Client to make requests to intelligence API."""
|
|
2
|
-
from __future__ import unicode_literals
|
|
3
|
-
|
|
4
|
-
from telesign.rest import RestClient
|
|
5
|
-
from telesign.util import AuthMethod
|
|
6
|
-
|
|
7
|
-
INTELLIGENCE_BASE_URL = "https://detect.telesign.com"
|
|
8
|
-
INTELLIGENCE_ENDPOINT_PATH = "/intelligence"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class IntelligenceClient(RestClient):
|
|
12
|
-
"""
|
|
13
|
-
It is critical today to evaluate fraud risk throughout the entire customer journey.
|
|
14
|
-
|
|
15
|
-
Telesign Intelligence makes it easy to understand the risk and the reason behind it with tailored scoring models
|
|
16
|
-
and comprehensive reason codes.
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
def __init__(self, customer_id, api_key, **kwargs):
|
|
20
|
-
super(IntelligenceClient, self).__init__(
|
|
21
|
-
customer_id=customer_id,
|
|
22
|
-
api_key=api_key,
|
|
23
|
-
rest_endpoint=INTELLIGENCE_BASE_URL,
|
|
24
|
-
auth_method=AuthMethod.BASIC.value,
|
|
25
|
-
**kwargs
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
def intelligence(self, params):
|
|
29
|
-
"""
|
|
30
|
-
Telesign Intelligence is like a credit check for digital profiles.
|
|
31
|
-
|
|
32
|
-
You submit a phone number, IP, and email to the service, the individual
|
|
33
|
-
identifiers are each evaluated, and then a score is returned telling you how risky
|
|
34
|
-
that user is. You decide whether to proceed based on the score.
|
|
35
|
-
|
|
36
|
-
See https://developer.telesign.com/enterprise/docs/intelligence-overview
|
|
37
|
-
for detailed API documentation.
|
|
38
|
-
"""
|
|
39
|
-
return self.post(INTELLIGENCE_ENDPOINT_PATH, body=params, query_params=None)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|