Skip to content

Commit ae45f11

Browse files
author
Jarrad Lee
committed
AutoVerify rebranded to AppVerify, refactored associated names.
1 parent 36db83e commit ae45f11

File tree

8 files changed

+22
-18
lines changed

8 files changed

+22
-18
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.1.0.{build}
1+
version: 2.2.0.{build}
22
before_build:
33
- nuget restore Telesign.sln
44
build:

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.2.0
2+
- AutoVerify rebranded to AppVerify, please update your integration.
3+
14
2.1.0
25
- Major refactor and simplification into generic REST client.
36
- updated and improved README

Telesign.Example/AutoVerify/GetStatusByExternalId.cs renamed to Telesign.Example/AppVerify/GetStatusByExternalId.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Telesign.Example.AutoVerify
3+
namespace Telesign.Example.AppVerify
44
{
55
class GetStatusByExternalId
66
{
@@ -13,12 +13,12 @@ static void Main(string[] args)
1313

1414
try
1515
{
16-
AutoVerifyClient autoverifyClient = new AutoVerifyClient(customerId, apiKey);
17-
RestClient.TelesignResponse telesignResponse = autoverifyClient.Status(externalId);
16+
AppVerifyClient appVerifyClient = new AppVerifyClient(customerId, apiKey);
17+
RestClient.TelesignResponse telesignResponse = appVerifyClient.Status(externalId);
1818

1919
if (telesignResponse.OK)
2020
{
21-
Console.WriteLine(string.Format("AutoVerify transaction with external_id {0} has status code {1} and status description {2}.",
21+
Console.WriteLine(string.Format("AppVerify transaction with external_id {0} has status code {1} and status description {2}.",
2222
externalId,
2323
telesignResponse.Json["status"]["code"],
2424
telesignResponse.Json["status"]["description"]));

Telesign.Example/Telesign.Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<Reference Include="System.Xml" />
5151
</ItemGroup>
5252
<ItemGroup>
53-
<Compile Include="AutoVerify\GetStatusByExternalId.cs" />
53+
<Compile Include="AppVerify\GetStatusByExternalId.cs" />
5454
<Compile Include="Messaging\SendMessage.cs" />
5555
<Compile Include="Messaging\SendMessageWithVerificationCode.cs" />
5656
<Compile Include="PhoneId\CheckPhoneTypeToBlockVoip.cs" />

Telesign/AutoVerifyClient.cs renamed to Telesign/AppVerifyClient.cs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
namespace Telesign
55
{
66
/// <summary>
7-
/// AutoVerify is a secure, lightweight SDK that integrates a frictionless user verification process into existing native mobile applications.
7+
/// AppVerify is a secure, lightweight SDK that integrates a frictionless user verification process into existing native mobile applications.
88
/// </summary>
9-
public class AutoVerifyClient : RestClient
9+
public class AppVerifyClient : RestClient
1010
{
11-
private const string AUTOVERIFY_STATUS_RESOURCE = "/v1/mobile/verification/status/{0}";
11+
private const string APPVERIFY_STATUS_RESOURCE = "/v1/mobile/verification/status/{0}";
1212

13-
public AutoVerifyClient(string customerId,
13+
public AppVerifyClient(string customerId,
1414
string apiKey)
1515
: base(customerId,
1616
apiKey)
1717
{ }
1818

19-
public AutoVerifyClient(string customerId,
19+
public AppVerifyClient(string customerId,
2020
string apiKey,
2121
string restEndPoint)
2222
: base(customerId,
2323
apiKey,
2424
restEndPoint)
2525
{ }
2626

27-
public AutoVerifyClient(string customerId,
27+
public AppVerifyClient(string customerId,
2828
string apiKey,
2929
string restEndPoint,
3030
int timeout,
@@ -42,16 +42,17 @@ public AutoVerifyClient(string customerId,
4242
}
4343

4444
/// <summary>
45-
/// Retrieves the verification result for an AutoVerify transaction by externalId. To ensure a secure verification
45+
/// Retrieves the verification result for an AppVerify transaction by externalId. To ensure a secure verification
4646
/// flow you must check the status using TeleSign's servers on your backend. Do not rely on the SDK alone to
4747
/// indicate a successful verification.
4848
///
49-
/// See https://developer.telesign.com/docs/auto-verify-sdk-self#section-obtaining-verification-status for detailed
49+
/// See https://developer.telesign.com/docs/app-verify-android-sdk-self#section-obtaining-verification-status or
50+
/// https://developer.telesign.com/docs/app-verify-ios-sdk-self#section-obtaining-verification-status for detailed
5051
/// API documentation.
5152
/// </summary>
5253
public TelesignResponse Status(string externalId, Dictionary<string, string> parameters = null)
5354
{
54-
return this.Get(string.Format(AUTOVERIFY_STATUS_RESOURCE, externalId), parameters);
55+
return this.Get(string.Format(APPVERIFY_STATUS_RESOURCE, externalId), parameters);
5556
}
5657
}
5758
}

Telesign/RestClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Telesign
1919
public class RestClient : IDisposable
2020
{
2121
public static readonly string UserAgent = string.Format("TeleSignSdk/csharp-{0} .Net/{1} HttpClient",
22-
typeof(RestClient).Assembly.GetName().Version,
22+
"2.2.0",
2323
Environment.Version.ToString());
2424

2525
private string customerId;

Telesign/Telesign.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<Reference Include="System.Xml" />
6565
</ItemGroup>
6666
<ItemGroup>
67-
<Compile Include="AutoVerifyClient.cs" />
67+
<Compile Include="AppVerifyClient.cs" />
6868
<Compile Include="MessagingClient.cs" />
6969
<Compile Include="Properties\AssemblyInfo.cs" />
7070
<Compile Include="PhoneIdClient.cs" />

Telesign/telesign.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Telesign</id>
5-
<version>2.1.0</version>
5+
<version>2.2.0</version>
66
<title>Telesign</title>
77
<authors>Telesign</authors>
88
<owners>Telesign</owners>

0 commit comments

Comments
 (0)