Skip to content

Commit

Permalink
Removing certificate pinning code and references (#361)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
eli-iser and EliIser authored May 22, 2024
1 parent 0ff5668 commit f8ff2aa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 242 deletions.
236 changes: 0 additions & 236 deletions dropbox-sdk-dotnet/Dropbox.Api/DropboxCertHelper.cs

This file was deleted.

2 changes: 0 additions & 2 deletions dropbox-sdk-dotnet/Examples/OAuthPKCE/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ static int Main(string[] args)

private async Task<int> Run()
{
DropboxCertHelper.InitializeCertPinning();

var uid = await this.AcquireAccessToken(null, IncludeGrantedScopes.None);
if (string.IsNullOrEmpty(uid))
{
Expand Down
2 changes: 0 additions & 2 deletions dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ static int Main(string[] args)

private async Task<int> Run()
{
DropboxCertHelper.InitializeCertPinning();

string[] scopeList = new string[3] { "files.metadata.read", "files.content.read", "account_info.read" };
var uid = await this.AcquireAccessToken(scopeList, IncludeGrantedScopes.None);
if (string.IsNullOrEmpty(uid))
Expand Down
2 changes: 0 additions & 2 deletions dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ static int Main(string[] args)

private async Task<int> Run()
{
DropboxCertHelper.InitializeCertPinning();

var accessToken = await this.GetAccessToken();
if (string.IsNullOrEmpty(accessToken))
{
Expand Down

0 comments on commit f8ff2aa

Please sign in to comment.