-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
110 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 0 additions & 84 deletions
84
Apizr/Samples/Apizr.Sample.MAUI/Apizr - Backup.Sample.MAUI.csproj
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Apizr/Samples/Apizr.Sample.MAUI/Infrastructure/TestRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace Apizr.Sample.MAUI.Infrastructure | ||
{ | ||
public class TestRequestHandler : DelegatingHandler | ||
{ | ||
private readonly ISecureStorage _secureStorage; | ||
|
||
public TestRequestHandler(ISecureStorage secureStorage) | ||
{ | ||
_secureStorage = secureStorage; | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) | ||
{ | ||
var identityKey = await _secureStorage.GetAsync("IdentityKey"); | ||
if (!string.IsNullOrWhiteSpace(identityKey)) | ||
{ | ||
request.Headers.Add("X-Identity-Key", identityKey); | ||
} | ||
|
||
return await base.SendAsync(request, cancellationToken); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd"> | ||
<metadata> | ||
<id>Apizr.Integrations.FileTransfer.Optional</id> | ||
<version>6.0.0-preview.4</version> | ||
<title>Apizr.Integrations.FileTransfer.Optional</title> | ||
<authors>Respawnsive</authors> | ||
<owners>Respawnsive</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<licenseUrl>https://raw.githubusercontent.com/Respawnsive/Apizr/master/LICENSE</licenseUrl> | ||
<readme>README.md</readme> | ||
<projectUrl>https://www.apizr.net/</projectUrl> | ||
<iconUrl>https://raw.githubusercontent.com/Respawnsive/Apizr/master/logo.png</iconUrl> | ||
<description>Refit based web api client management, but resilient (retry, connectivity, cache, auth, log, priority...)</description> | ||
<releaseNotes>https://www.apizr.net/changelog.html</releaseNotes> | ||
<tags>Refit Web Api Http Transfer</tags> | ||
<dependencies> | ||
<dependency id="Apizr.Integrations.Optional" version="6.0.0-preview.4" /> | ||
<dependency id="Apizr.Integrations.FileTransfer.MediatR" version="6.0.0-preview.4" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.dll" target="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.dll" /> | ||
<file src="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.pdb" target="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.pdb" /> | ||
<file src="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.xml" target="lib\netstandard2.0\Apizr.Integrations.FileTransfer.Optional.xml" /> | ||
<file src="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.dll" target="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.dll" /> | ||
<file src="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.pdb" target="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.pdb" /> | ||
<file src="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.xml" target="lib\netstandard2.1\Apizr.Integrations.FileTransfer.Optional.xml" /> | ||
<file src="README.md" target="README.md" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.