{
	"ConnectionStrings": {
		"SqlServer": "Data Source=.;Initial Catalog=RestPkiNG;Integrated Security=True;TrustServerCertificate=True",
		"Postgres": "Host=localhost;Database=RestPkiNG;Username=postgres;Password=Senha!01"
	},
	"General": {
		"DatabaseProvider": "SqlServer", // override in user secrets to test other database providers
		"SiteUrl": "https://localhost:44325/",
		"ProcessBackgroundJobs": true,
		"EnableSensitiveDataLogging": true,
		"OptimizeForSingleInstance": true,
		"IsCloud": true,
		//"Theme": "dgy",
		"DocumentAvailabilityYears": 1,
		"AttributeCertificateInclusion": "Optional",
		"RootPasswordHash": "AQAAAAIAAYagAAAAEOoMiaf+25GmnUjt8dkzPscgk9LakMcrDdcMIp6Rcsnb4xri2k3hqXJ5cV36ai228A==", //12345678
		"DefaultSecurityContext": "803517ad-3bbc-4169-b085-60053a8f6dbf" // Lacuna Test
		//"DefaultSignaturePolicy": "WithTime"
	},
	"Bio": {
		"BioSessionProcessorLogLevel": "Debug",
		"VideoIdentification": {
			"Enabled": true,
			"ResultReportTimestampTier": "LacunaDev",
			"Languages": [ "pt", "en", "es" ],
			"Instructions": [
				{
					"Message": {
						"pt": "Prepare-se para realizar a video identificação",
						"en": "Prepare to do the video identification",
						"es": "Prepárate para realizar la videoidentificación"
					}
				},
				{
					"Message": {
						"pt": "Certifique-se de que não há pessoas ao seu redor",
						"en": "Make sure there aren't other people around you",
						"es": "Asegúrate de que no haya otras personas a tu alrededor"
					}
				},
				{
					"Message": {
						"pt": "Certifique-se de que esteja com seu documento em mãos",
						"en": "Make sure you have your photo ID ready",
						"es": "Asegúrate de tener tu documento de identidad a mano"
					}
				}
			],
			"Steps": [
				{
					"MinTime": "00:00:01",
					"MaxTime": "00:00:30",
					"Message": {
						"pt": "Olhando para câmera, diga seu nome completo",
						"en": "Looking at the camera, say your full name",
						"es": "Mirando a la cámara diga su nombre y apellido"
					}
				},
				{
					"MinTime": "00:00:01",
					"MaxTime": "00:00:30",
					"Message": {
						"pt": "Mostre para câmera seu a frente do seu documento de identidade",
						"en": "Show the front of your photo ID to the camera",
						"es": "Muestre a la cámara su documento de identidad"
					}
				},
				{
					"MinTime": "00:00:01",
					"MaxTime": "00:00:30",
					"Message": {
						"pt": "Mostre para câmera o verso do seu documento de identidade",
						"en": "Show the back of your photo ID to the camera",
						"es": "Muestre a la cámara el reverso de su documento de identidad"
					}
				}
			]
		},
		"Identification": {
			"Enabled": true,
			"DefaultEnabledOnSubscriptions": true,
			"DefaultEnrollmentIdentifyDuplicates": true
		},
		"Geolocation": {
			"CaptureType": "Optional",
			"CapturePolicy": "CollectOnAllDevices"
		}
	},
	"Bindings": {
		"SslPort": 44325,
		"HttpsMode": "Optional"
	},
	"Logging": {
		"LogLevel": {
			"Lacuna.RestPki": "Information",
			"Lacuna.RestPki.Site.Services.Invoicing": "Warning",
			"Lacuna.RestPki.Site.AppInit": "Debug",
			"Lacuna.RestPki.Site.Controllers.BioSessionConnectionController": "Debug",
			"Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information" // to enable HTTP logging, set on your user secrets file's section `HttpLogging` the setting `Enabled` to `True`
		}
	},
	"Serilog": {
		"MinimumLevel": {
			"Override": {
				"Lacuna.RestPki": "Information",
				"Lacuna.RestPki.Site.Controllers.BioSessionConnectionController": "Debug"
			}
		},
		"WriteTo": [
			{
				"Name": "File",
				"Args": {
					"path": "C:\\Logs\\RestPkiNG.log",
					"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}"
				}
			}
			//{
			//  "Name": "AzureTableStorage",
			//  "Args": {
			//    "storageTableName": "RestPkiNGLog",
			//    "connectionString": "DefaultEndpointsProtocol=https;AccountName=lacunadev;AccountKey=I1vSijjx3LyiQbvpdXloPSKrGnwknlmxQfFVjInoI/2D8YzP2Wy0itxJDvccBGG7ApVSa+4E9ki3g78UJH/B/w==;EndpointSuffix=core.windows.net",
			//    "keyGenerator": "Lacuna.Spa.Engine.AzureTableKeyGenerator, Lacuna.Spa.Engine"
			//  }
			//}
		]
	},
	"BlobStorage": {
		//"Type": "Azure",
		//"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=lacunadev;AccountKey=I1vSijjx3LyiQbvpdXloPSKrGnwknlmxQfFVjInoI/2D8YzP2Wy0itxJDvccBGG7ApVSa+4E9ki3g78UJH/B/w==;EndpointSuffix=core.windows.net",
		//"ContainerName": "restpki-ng",

		"Type": "FileSystem",
		"Path": "C:\\Temp\\RestPkiNG"

		// GCP
		//"Type": "Gcp",
		//"BucketName": "signer-dev",
		//"ProjectId": "fit-network-281613",
		//"PrivateKeyId": "06c3597b161b7945295c9bfb207dad26468d9667",
		//"PrivateKey": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDUReJO+FRPkMDA\nT0WmZ47ugeFMiJaDT4xAlIuNgDBxP4Dg9XSVBo9yztLCgqw3+Iz/BPZ4HhvzwtIe\nbueG+JGIKAACwOJ7sR8utzVaeSptecM6qdeCQTZhym0UeJNAgU1J2+6zgzPFyXTV\ns5HKveLpJcjqQ5SYBA0guXVVDrcFeVbPYH/9mEF19LsJvVEn42W1dzy9BTuaalKY\nb12ff7fXPp7QlbM7CvCdys4WpHgDXaYwLdjXv6+aJZ8k+I+/hukaGq2E4/ozMkn+\nfkT4gBbP5Ed23AGMdwPh5rZdSAFYEMdUnXSpwaeQV4mP4k82OZGgzjS3215IcO7r\noLSzZ14LAgMBAAECggEACKY9INdtiz05HWm3GAWDa9e1XnD4vd3LHgNV5flUzMiE\n1j9dW+7Dsy6wpJkk4bYqLwBjKpg14cQM28CZHoUyXBUexJeN1iYGQNkMpRfnnd5Z\n3iIQusLKSUgxeaWps/WQ0kAFhSFreQh+Aj2Qfm2OUwGyVhlUcxbdkhL8fO+RW/lE\nTcJYfa61NF3O1gtTQY4cY5VVbiBZXbTX0tWfa3iV15pjC/+Ovlf6KV4TvSbpF219\nyyVyt7wC34OOI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PkiSuite": {
		// Licensee: Lacuna Lab, Expiration: 2026-12-05 15:00:00Z, VersionNumberLimit: (no limit), VersionReleaseDateLimit: (no limit)
		"SdkLicense": "AxAAamZEXzTD6Eu8GL8CPUQa3QoATGFjdW5hIExhYggAAG0YbCo03ggIAACYGW/gUt8IAAAAAAAABAB/AAAAAAGFL8xoiyRs9KpHW6cJTqKFKzrTkLjg+LOFho3Ozm+nWB1FKiJb1/foWo9RpgFJAElHQCxyq3EgLkFhXKafCU/9NS/T0b8iENFXnYsozozn2GMSfxARanI6wXe5OenRwc1ZixZmR09c4Xg7kaiTyJeb6IM0iOGC4IAb40BqUTuFe7oWq1stFASMXeRjpBJTaKsr7BAvyj5eKbry589W2VwnpeKe8EMsAdmNJWCgjNlhMd/rmzzuVuiy5F4s5ZmmjORJ4CIN3mByRJGFJfJXzEZfXjonB42D0frRVHZu/Yz4TGE2OREdh7wXeqwyeIZz5jGFz+GLm+N1VHM6ZbyGXCug"
	},
	"Email": {
		"ServerHost": "email-smtp.us-east-1.amazonaws.com",
		"SenderAddress": "no-reply@patorum.com",
		// Credentials for user "smtp-dev-user", which can only send with "no-reply@patorum.com" (Oct/23 access key)
		"Username": "AKIA6EPE5AU3LF2GEJZG",
		"Password": "BI6lRFkydsrYDC3XWStbQ77ABGu2D3V9V5zOLupfJewn"
	},
	"Oidc": { // set "Enabled": false in user secrets to use root password login instead of OIDC
		"CustomScopes": "cpf",
		"ClientAppId": "restpki-dev",
		"Authority": "https://lacuna-dev.grantid.com",
		"AppId": "restpki-dev-backend",
		"AppSecret": "S9tIN7OaR74QS/DAoNlj+fDALIfDxOnp3a5M9WM+y4c=",
		"ApiName": "restpki-dev-api",
		"ApiEndpoint": "https://api.grantid.com",
		"CpfClaim": "cpf"
	},
	"TrustServices": {
		// All services have been registered with a single return url of 'https://localhost:44325/tsp-callback'
		"Services": {
			"BirdIDHml": {
				"Provider": "SOLUTI",
				"Endpoint": "https://apihom.birdid.com.br/",
				"BadgeUrl": "https://cdn.lacunasoftware.com/img/psc/birdid-hml.png",
				"ClientId": "111cf5954d0e39a581dae38d34b6b9e62552c8f1",
				"ClientSecret": "8c46eb04f944673a3a5c8b5067165d7373df32cd",
				"ProtocolVariant": "BirdID"
			},
			"BirdID": {
				"ClientId": "305e43f1bded6162943e8c33a4b50839d8dbbdcb",
				"ClientSecret": "26e67d695aa05b50760fa41c2edbf7374bac1f25"
			},
			"VIDaaS": {
				"ClientId": "644a5edc-e028-4e45-a828-01a2480829eb",
				"ClientSecret": "WwLNtV0g790e7UR9"
			}
		}
	},
	"Amplia": {
		"Endpoint": "https://onr-atributo-hml.azurewebsites.net/",
		"ApiKey": "lacuna-dev|5e57c2fac992bc4191f59629ee2a4a546ca7149225f3d162be21da7bf0fd20da"
	},
	"FaceTec": {
		"DeviceKeyIdentifier": "daqRAwaDlyVkD6uxqHJYGWYbUMDrB5HG",
		"Endpoint": "https://facetec-hml.lacunasoftware.com",
		"AllowIframeUsage": true
	},
	"Timestamp": {
		"Providers": {
			"LacunaTsa": {
				"Tiers": "LacunaDev, Default",
				"Url": "https://tsa.lacunasoftware.com/"
			}
		}
	},
	"FortFace": { // Webvoto Sandbox credentials
		"GalleryId": "3a199d57-e930-4316-80b6-6602ae273a1a",
		"AccountName": "webvoto",
		"ApiKey": "bf87b64c-480b-433a-bed5-79b7da6970e9",
		"ServerUrl": "https://api-sandbox.fortface.ai",
		"PfxContent": "MIACAQMwgAYJKoZIhvcNAQcBoIAkgASCA+gwgDCABgkqhkiG9w0BBwGggCSABIID6DCCBY8wggWLBgsqhkiG9w0BDAoBAqCCBPowggT2MCgGCiqGSIb3DQEMAQMwGgQUcw+zZniVfNzCsjXi6YSXmyhO8AECAgQABIIEyClKge1om3svoDkglz3p6hXrXWDTuJtDp9nYVYadfhek9Im19pw5U6dBnoDJ6SO1CP0CJWRV0QbtUlEOqngoKZkq7FzRSXccsIsueN9i5h8bm4tdJHH7tNPH5xZl/4daX0qEzq5M449lBuaQRQ1ms8VJanGlCiG9t61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vj/W4cw3wNBQiVZ8WX5O4AICBAAAAA=="
	},
	"Invoicing": {
		"Enabled": true,
		"InvoicingStartYearAndMonthReference": "2020-01-01",
		"FaceTecLiveness3dMonthlyUsersInvoicingEnabled": true,
		"GroupAnonymousFaceTecLiveness3dMonthlyUsersByInstallationId": true,
		"GracePeriod": "00:00:01",
		"ProcessingIntervalMinutes": 0.1,
		"ProcessingStandbyBaseInterval": "00:00:10",
		"ProcessingStandbyRandomInterval": "00:00:01"
	},
	"TransactionLimiting": {
		"CacheDurationMinutes": 0.1,
		"TransactionLimits": {
			"TST": 100
		}
	},
	"PdfService": {
		"ApiKey": "IyO9UeFNjwDdmmWEydTsdYMkv2azuHtJa4kXbxS725E=",
		"Endpoint": "https://localhost:44377"
	}
}
