11{
22 "AllowedHosts" : " *" ,
33 //This needs to be shared with the client application
4- "ApiKey" : " 7e93f7a2-2a3b-47d6-b9a9-0e9efabf5c13 " ,
4+ "ApiKey" : " XXXXXXXXXXX " ,
55 "Application" : {
66 "Default" : {
77 "Name" : " Can Be Yours" ,
88 "SupportEmail" : " support@test.com" ,
99 "LogoUrl" : " /images/logos/logo.png" ,
1010 "FaviconUrl" : " /favicon.ico" ,
11- "Url" : " https://canbeyours.online/"
11+ "Url" : " https://api. canbeyours.online/"
1212 },
1313 "Localizations" : {
1414 "fa" : {
5454 "ExternalLogins" : {
5555 "Google" : {
5656 "Enabled" : true ,
57- "ClientId" : " 361890719385-7cats03q7udecm04f2kor903q4ub7id8.apps.googleusercontent.com " ,
58- "ClientSecret" : " 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 " ,
57+ "ClientId" : " XXXXXXXXXXX " ,
58+ "ClientSecret" : " XXXXXXXXXXX " ,
5959 "CallbackPath" : " /signin-google"
6060 },
6161 "Twitter" : {
6262 "Enabled" : true ,
63- "ConsumerKey" : " X5qics8vMtAITsozutZXH3QNC " ,
64- "ConsumerSecret" : " OAPey6pd73IecqMEutYJ274YSxdkOTJgYs6k7sJ3vqFbxMiz1S " ,
63+ "ConsumerKey" : " XXXXXXXXXXX " ,
64+ "ConsumerSecret" : " XXXXXXXXXXX " ,
6565 "CallbackPath" : " /signin-twitter"
6666 },
6767 "Microsoft" : {
6868 "Enabled" : true ,
69- "ClientId" : " ca324dd3-7916-45ea-b7da-ab557b86344c " ,
70- "ClientSecret" : " hfX8Q~mlGrfz4jSGLyyD2PoE4oHA6C2-Juhykc.o " ,
69+ "ClientId" : " XXXXXXXXXXX " ,
70+ "ClientSecret" : " XXXXXXXXXXX " ,
7171 "CallbackPath" : " /signin-microsoft"
7272 },
7373 "Facebook" : {
7474 "Enabled" : true ,
75- "AppId" : " your-facebook-client-id " ,
76- "AppSecret" : " your-facebook-client-sec " ,
75+ "AppId" : " XXXXXXXXXXX " ,
76+ "AppSecret" : " XXXXXXXXXXX " ,
7777 "CallbackPath" : " /signin-facebook"
7878 }
7979 }
8080 },
8181 "CookieAuthentication" : {
8282 "Enabled" : true ,
83- "CookieName" : " Can.Be.Yours .Api.AuthCookie" ,
83+ "CookieName" : " CanBeYours .Api.AuthCookie" ,
8484 "CookieHttpOnly" : true ,
8585 "LoginPath" : " /login" ,
8686 "LogoutPath" : " /logout" ,
8989 "AllowRefresh" : true
9090 },
9191 "Localization" : {
92- "CookieName" : " Can.Be.Yours .Api.Culture" ,
92+ "CookieName" : " CanBeYours .Api.Culture" ,
9393 "Languages" : [
9494 {
9595 "Name" : " English" ,
148148 "CacheTimeInSeconds" : 10 ,
149149 "Enabled" : true
150150 },
151- "Optimization" : {
152- "Enabled" : true ,
153- "EnableCaching" : true ,
154- "EnableMemoryCache" : true ,
155- "EnableDiskCache" : false ,
156- "AllowEmptyBundle" : true
157- //"BundledCssFiles": [
158- // {
159- // "BundledFile": "/css/test.min.css",
160- // "FilesToBundle": [
161- // "css/app.css"
162- // ]
163- // }
164- //],
165- //"BundledJsFiles": [
166- // {
167- // "BundledFile": "/js/test.min.js",
168- // "FilesToBundle": [
169- // "js/app.js"
170- // ]
171- // }
172- //]
173- },
174- "Hangfire" : {
175- "SchedulePollingIntervalSeconds" : 15000 ,
176- "MongoStorage" : {
177- "DatabaseName" : " CanBeYours_ScheduledJobs"
178- },
179- "Dashboard" : {
180- "Path" : " /hangfire" ,
181- "Enabled" : true
182- }
183- },
184151 "Monitoring" : {
185152 "Service" : {
186- "Name" : " Can.Be.Yours .Api" ,
153+ "Name" : " CanBeYours .Api" ,
187154 "HealthCheckPath" : " /health"
188155 },
189156 "Logging" : {
200167 }
201168 },
202169 "Security" : {
203- "EncryptionSymmetricKey" : " a7Fq9LmB2XrT4pWz6VcN8KdY " ,
170+ "EncryptionSymmetricKey" : " XXXXXXXXXXX " ,
204171 "SigningPrivateKeyPath" : " GET_FROM_ENVIRONMENT_VARIABLE" ,
205172 "RateLimiter" : {
206173 "Enabled" : true ,
215182 "Host" : " localhost" ,
216183 "Port" : 6334 ,
217184 "Https" : false ,
218- "ApiKey" : " qrp5yV3wxWP0a8HJcPhwdNP7g9NuQFQNslqbEuW9VpNSHb3PfULBUs "
185+ "ApiKey" : " XXXXXXXXXXX "
219186 }
220187 },
221188 "Swagger" : {
222- "Enabled" : false ,
189+ "Enabled" : true ,
223190 "Title" : " Can Be Yours Api Documentation" ,
224191 "Version" : " v1" ,
225192 "RedirectRootAddress" : true
226193 },
227194 "JwtAuthentication" : {
228- "Key" : " Api-25ft53d3-e5b5-49a0-a5b0-cc05a50568wp " ,
229- "Issuer" : " http ://api.test.com " ,
195+ "Key" : " XXXXXXXXXXX " ,
196+ "Issuer" : " https ://api.canbeyours.online/ " ,
230197 "ExpireDays" : 30
231198 }
232199}
0 commit comments