초기커밋
This commit is contained in:
10
UGQApiServer/Settings/DynamoDbSettings.cs
Normal file
10
UGQApiServer/Settings/DynamoDbSettings.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace UGQApiServer.Settings;
|
||||
|
||||
public class DynamoDbSettings
|
||||
{
|
||||
public string Url { get; set; } = null!;
|
||||
public string TablePostfix { get; set; } = null!;
|
||||
public string AccessKey { get; set; } = null!;
|
||||
public string SecretKey { get; set; } = null!;
|
||||
public string Region { get; set; } = null!;
|
||||
}
|
||||
12
UGQApiServer/Settings/JWTSettings.cs
Normal file
12
UGQApiServer/Settings/JWTSettings.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace UGQApiServer.Settings;
|
||||
|
||||
#pragma warning disable CS8618
|
||||
|
||||
public class JWTSettings
|
||||
{
|
||||
public string ValidAudience { get; set; }
|
||||
public string ValidIssuer { get; set; }
|
||||
public string Secret { get; set; }
|
||||
|
||||
public int TokenValidityInMinutes { get; set; }
|
||||
}
|
||||
15
UGQApiServer/Settings/S3Settings.cs
Normal file
15
UGQApiServer/Settings/S3Settings.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace UGQDataAccess.Settings;
|
||||
|
||||
#pragma warning disable CS8618
|
||||
|
||||
public class S3Settings
|
||||
{
|
||||
public string AccessKey { get; set; }
|
||||
|
||||
public string SecretAccessKey { get; set; }
|
||||
|
||||
public string BucketName { get; set; }
|
||||
public string RootFolder { get; set; }
|
||||
|
||||
public string DownloadUrl { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user