Skip to content

Commit f8ff2aa

Browse files
eli-iserEliIser
andauthored
Removing certificate pinning code and references (#361)
* Removing certificate pinning code and references * Fixing lint * More linting * Removing the cert helper fully and updated the readme * Removing README chagnes for now --------- Co-authored-by: Eli Iser <[email protected]>
1 parent 0ff5668 commit f8ff2aa

File tree

4 files changed

+0
-242
lines changed

4 files changed

+0
-242
lines changed

dropbox-sdk-dotnet/Dropbox.Api/DropboxCertHelper.cs

Lines changed: 0 additions & 236 deletions
This file was deleted.

dropbox-sdk-dotnet/Examples/OAuthPKCE/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ static int Main(string[] args)
5656

5757
private async Task<int> Run()
5858
{
59-
DropboxCertHelper.InitializeCertPinning();
60-
6159
var uid = await this.AcquireAccessToken(null, IncludeGrantedScopes.None);
6260
if (string.IsNullOrEmpty(uid))
6361
{

dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ static int Main(string[] args)
5959

6060
private async Task<int> Run()
6161
{
62-
DropboxCertHelper.InitializeCertPinning();
63-
6462
string[] scopeList = new string[3] { "files.metadata.read", "files.content.read", "account_info.read" };
6563
var uid = await this.AcquireAccessToken(scopeList, IncludeGrantedScopes.None);
6664
if (string.IsNullOrEmpty(uid))

dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ static int Main(string[] args)
5959

6060
private async Task<int> Run()
6161
{
62-
DropboxCertHelper.InitializeCertPinning();
63-
6462
var accessToken = await this.GetAccessToken();
6563
if (string.IsNullOrEmpty(accessToken))
6664
{

0 commit comments

Comments
 (0)