Created
June 25, 2021 00:46
-
-
Save MahdiKarimipour/1a68244e6891668337def8379e60bfeb to your computer and use it in GitHub Desktop.
ASP.NET 5.0 Sample App Settings
This file contains hidden or 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
public class AppSettings | |
{ | |
public string AllowedOrigins { get; set; } | |
public string AppName { get; set; } | |
public SubscriptionApi SubscriptionApiSettings { get; set; } | |
public JwtTokenConfig AuthSettings { get; set; } | |
public class JwtTokenConfig | |
{ | |
public string Issuer { get; set; } | |
public string Audience { get; set; } | |
public int AccessTokenExpiration { get; set; } | |
public int RefreshTokenExpiration { get; set; } | |
} | |
public class Subscription | |
{ | |
public string FreeTierPriceId { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment