﻿{
  "ConnectionStrings": {
    "Default": "Server=10.67.162.21; Database=WASP; User Id=EPTWDBUser; Password=$NRatd9o!6DiD&8o; MultipleActiveResultSets=True; max pool size=200;TrustServerCertificate=true"
  },
  "App": {
    "ServerRootAddress": "https://localhost:44311/",
    "ClientRootAddress": "https://eptw.com.sg/",
    "CorsOrigins": "http://localhost:4200,http://localhost:8080,http://localhost:8081,http://localhost:3000,https://eptw.com.sg",
    "JobInterval": 5,
    "SMS": false,
    "ExpirationDay": 90
  },
  "Authentication": {
    "JwtBearer": {
      "IsEnabled": "true",
      "SecurityKey": "WASP_9F3923E6-5043-4932-8978-7626926AD1F6",
      "Issuer": "WASP",
      "Audience": "WASP",
      "Expiration": 45
    },
    "ApiKey": "6DFBDE7D-10D8-4C03-9965-1BC7533AD072"
  },
  "Kestrel": {
    "Endpoints": {
      "Http": {
        "Url": "https://localhost:44311/"
      }
    }
  },
  "Swagger": {
    "ShowSummaries": false
  },
  "Logging": {
    "LogLevel": {
      "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
    }
  },
  "Oauth2": {
    "ClientId": "d53089c5-2411-4013-8477-e98f597be10c",
    "ClientSecret": "b0X8Q~Z-g~k22~OLM0AEC4SwstTkabrTkGKclbfb",
    "AuthUrl": "https://login.microsoftonline.com/bc1b92b9-5dc9-49be-995b-c97eb515a1d3/oauth2/v2.0/authorize",
    "TokenUrl": "https://login.microsoftonline.com/bc1b92b9-5dc9-49be-995b-c97eb515a1d3/oauth2/v2.0/token",
    "MetadataUrl": "https://login.microsoftonline.com/bc1b92b9-5dc9-49be-995b-c97eb515a1d3/v2.0/.well-known/openid-configuration",
    "RedirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient",
    "Issuer": "https://sts.windows.net/bc1b92b9-5dc9-49be-995b-c97eb515a1d3/",
    "Audience": "api://EPTW",
    "WebAudience": "api://EPTW-Web"
  },
  "Quartz": {
    "LoadStaticStaff": "0 45 6 1/1 * ? *",
    "SendTrainingRecordJob": "0 0 7 1/1 * ? *",
    "LoadTrainingRecordJob": "0 45 0 1/1 * ? *",
    "SendErsccJob": "0 0 0/2 1/1 * ? *",
    "TrackingCWLExpiryJob": "0 0 8 1/1 * ? *"
  }
}
