Skip to content

Instantly share code, notes, and snippets.

@MahdiKarimipour
Created June 25, 2021 00:56
Show Gist options
  • Save MahdiKarimipour/d3e45a2e7d60f937280c11d9be172417 to your computer and use it in GitHub Desktop.
Save MahdiKarimipour/d3e45a2e7d60f937280c11d9be172417 to your computer and use it in GitHub Desktop.
App Secrets Sample Class
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