-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
9a7b1e7
commit 5dffe46
Showing
18 changed files
with
99 additions
and
31 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
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
20 changes: 19 additions & 1 deletion
20
GuildWarsPartySearch/Extensions/WebApplicationBuilderExtensions.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
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
2 changes: 1 addition & 1 deletion
2
...earch/Options/IAzureBlobStorageOptions.cs → ...Options/Azure/IAzureBlobStorageOptions.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
6 changes: 6 additions & 0 deletions
6
GuildWarsPartySearch/Options/Azure/IAzureClientSecretCredentialOptions.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,6 @@ | ||
namespace GuildWarsPartySearch.Server.Options.Azure; | ||
|
||
public interface IAzureClientSecretCredentialOptions : IAzureCredentialOptions | ||
{ | ||
string ClientSecret { get; set; } | ||
} |
8 changes: 8 additions & 0 deletions
8
GuildWarsPartySearch/Options/Azure/IAzureCredentialOptions.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,8 @@ | ||
namespace GuildWarsPartySearch.Server.Options.Azure; | ||
|
||
public interface IAzureCredentialOptions | ||
{ | ||
string ClientId { get; set; } | ||
|
||
string TenantId { get; set; } | ||
} |
2 changes: 1 addition & 1 deletion
2
...arch/Options/IAzureTableStorageOptions.cs → ...ptions/Azure/IAzureTableStorageOptions.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
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,16 @@ | ||
using GuildWarsPartySearch.Server.Options.Azure; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace GuildWarsPartySearch.Server.Options; | ||
|
||
public sealed class AzureCredentialsOptions : IAzureClientSecretCredentialOptions | ||
{ | ||
[JsonPropertyName(nameof(ClientSecret))] | ||
public string ClientSecret { get; set; } = default!; | ||
|
||
[JsonPropertyName(nameof(ClientId))] | ||
public string ClientId { get; set; } = default!; | ||
|
||
[JsonPropertyName(nameof(TenantId))] | ||
public string TenantId { get; set; } = default!; | ||
} |
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
using System.Text.Json.Serialization; | ||
using GuildWarsPartySearch.Server.Options.Azure; | ||
|
||
namespace GuildWarsPartySearch.Server.Options; | ||
|
||
public class PartySearchTableOptions : IAzureTableStorageOptions | ||
{ | ||
[JsonPropertyName(nameof(TableName))] | ||
public string TableName { get; set; } = default!; | ||
} |
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