1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- },
- "ConnectionStrings": {
- "LocalConnectionString": "Server=localhost;Database=MTWorkHRDB;User=sa;Password=Mahmoud001;MultipleActiveResultSets=true;Encrypt=False"
- },
- "JwtSettings": {
- "SecretKey": "dkajsdfhalksjdhfalksdjhfalksdjfhaslkdjfhasdlkfhjasdlkfhasdlkfhjasdfhh",
- "Audience": "http://localhost:28222",
- "Issuer": "https://localhost:44325",
- "DurationInMinutes": 60000
- },
- "CookieOptions": {
- "SessionCookieExpiryInSeconds": 3600,
- "SurveyCookieExpiryInSeconds": 1800
- },
- "DbConfig": {
- "RunMigrations": true
- },
- "AttachmentSettings": {
- "TempAttachment": "/var/www/html/attachments/temp",
- "ActualAttachment": "/var/www/html/attachments/actual"
- },
- "MailSettings": {
- "ApiKey": "SendGrid-Key",
- "FromAddress": "DoNotReply@bc3ee9f1-57df-4a29-b566-a84d72074975.azurecomm.net",
- "FromName": "MTWork Hr Management System",
- "Password": "1qU8Q~gt4nex-gO3gWrc3FO~fpv8uGoTGqjyFbHx",
- "Host": "smtp.azurecomm.net",
- "Port": 587,
- "SmtpUsername": "SMTP_username", // "MTCommunicationServiceResource.57fe2efd-9859-488f-8313-0acd27450cf0.2ff48a6f-9604-49d0-b338-28e96f91ec99", //"EmailSMTPApp",
- "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
- },
- "OTPSettings": {
- "Length": 4,
- "ExpirePeriodInMinutes": 3000,
- "SendEmail": true,
- "AllowZeros": false,
- "MessageBody": "Dear User, Your OTP is {0}. Use this passcode to proceed.",
- "MessageSubject": "OTP"
- },
- "AllowedHosts": "*"
- }
|