Convert the AppSettings to model class
This commit is contained in:
9
Back/skydiveLogs-api.Model/CorsSettings.cs
Normal file
9
Back/skydiveLogs-api.Model/CorsSettings.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class CorsSettings
|
||||
{
|
||||
public string FrontUrl { get; set; }
|
||||
}
|
||||
}
|
||||
11
Back/skydiveLogs-api.Model/JwtSettings.cs
Normal file
11
Back/skydiveLogs-api.Model/JwtSettings.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class JwtSettings
|
||||
{
|
||||
public string Issuer { get; set; }
|
||||
|
||||
public string Passphrase { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user