Created
June 25, 2021 00:56
-
-
Save MahdiKarimipour/d3e45a2e7d60f937280c11d9be172417 to your computer and use it in GitHub Desktop.
App Secrets Sample Class
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 AppSecrets | |
{ | |
public JwtTokenConfig AuthSecrets { get; set; } | |
public SendGrid SendGridSecrets { get; set; } | |
public Connections ConnectionStrings { get; set; } | |
public Google GoogleSecrets { get; set; } | |
public class Google | |
{ | |
public string CaptchaVerificationSecret { get; set; } | |
} | |
public class Connections | |
{ | |
public string DbConnectionString { get; set; } | |
} | |
public class SendGrid | |
{ | |
public string ApiKey { get; set; } | |
} | |
public class JwtTokenConfig | |
{ | |
public string Secret { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment