{
	"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": {
		"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
		},
		"GeolocationCaptureType": "Optional",
		"GeolocationCapturePolicy": "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"
	},
	"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": {
		"ProductionKey": "{  \"domains\": \"dropsigner.com,signer-beta.azurewebsites.net,signer-lac.azurewebsites.net,assinador.uniproof.com.br,dllsigner.uniproof.com.br,assinador.bartdigital.com.br,e-notariado.org.br,assinador-hml.somosb4.com.br,www.sigar.com.br,ar.lacunasoftware.com,core.pki.rest,consultibrasilpss.com.br,invoicesign.invoiceconsulta.com,assinador.somosb4.com.br,rest.webvoto.com.br\",  \"expiryDate\": \"2026-02-10\",  \"key\": \"00304502204baba61346610799bbba3a89b5adcea3f0a144910761e0cf15921b2e26de12cf022100f077ad1ef3e9d0584464fd4f1a7566e3e3de485201796039ec480da4848d3ea5\"}",
		"DeviceKeyIdentifier": "daqRAwaDlyVkD6uxqHJYGWYbUMDrB5HG",
		"Endpoint": "https://facetec-hml.lacunasoftware.com",
		"PublicFaceScanEncryptionKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5f46SeGrCCDBPbe7R5aG\nRv+iXo53p5DVbAV+RSeP29lskkD8Fj4TBlMe3syxNpN1b8mwkkgUcn1zNWXGpton\nN5fbmZHS72D4DUUaZGH7YhZcQ8olHNwGzDIwSTLJAcUxbHKaAmTkEWwZzGrTC7cv\n7XZKWL7Pbx7h/77JZ+TbXqQ/2SSu8hTpXHo0GcHWf28NK+kdSGETaFpExEPz2wPH\nUNOKX1vatHZfro+6d5vpQPzabxr3qP6JrZ2xImjfcMxN6fFnL+c6l/kyb9kPIgOg\nLr9khwU808YpFw6x/zghjm5EIxH3SWlYTGr3ResHZ4hHh1fLzo7YXpZM2ZzpN0zm\nEQIDAQAB\n-----END PUBLIC KEY-----",
		"AllowIframeUsage": true
	},
	"FaceTecAbis": {
		"Endpoint": "https://facetec-hml.lacunasoftware.com",
		"PublicFaceScanEncryptionKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5f46SeGrCCDBPbe7R5aG\nRv+iXo53p5DVbAV+RSeP29lskkD8Fj4TBlMe3syxNpN1b8mwkkgUcn1zNWXGpton\nN5fbmZHS72D4DUUaZGH7YhZcQ8olHNwGzDIwSTLJAcUxbHKaAmTkEWwZzGrTC7cv\n7XZKWL7Pbx7h/77JZ+TbXqQ/2SSu8hTpXHo0GcHWf28NK+kdSGETaFpExEPz2wPH\nUNOKX1vatHZfro+6d5vpQPzabxr3qP6JrZ2xImjfcMxN6fFnL+c6l/kyb9kPIgOg\nLr9khwU808YpFw6x/zghjm5EIxH3SWlYTGr3ResHZ4hHh1fLzo7YXpZM2ZzpN0zm\nEQIDAQAB\n-----END PUBLIC KEY-----"
	},
	"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/4daX0qEzq5M449lBuaQRQ1ms8VJanGlCiG9t61iAQgmpoWfjn8LVHy5+h0W+krDUQyr9gydt1MpCvL7IorYkCEK1ypLdm5G/ohstCb0tTqhy6mqqrmYiacD2k0TyGab/NnaKmbv6JjBGHJHLwj3Z+StUer4Lmon2vHs7LQqW/QbledDJtBNlX5zPvTguQ9dur1tkwzJOePGVn7m3rjTuewZySr0c22lWIuOAPbO9jMnAmBijVWtU8lrdydiPvWOawhFCAgAUYmsquFr0L4mmz9I2xLa+qFcIguEnbxcmbrESMMwCiyZqYIfQ9fwLtekf2jJskj8cXxpXE1CO07GKYTi4UpMPM4JLQ2U7yQYJpQZLfatKpRG7pEhzYDssW8z0C1PacuhbqiAQPuRCBn2BJuCRkLfo/ewijCi4AgkHgPYV0XPL50E1XHdD3rgNI+Tb1s8bShsT/6NZRMGuZhrUKeH8uvfzfeGkc271voiOyu3hLj8JcHCQiYwtDIGNtJu7yKeLJCzgCeGL4t4tjScAuEjbed6LTt0pFHZ9mWEXVhlrz7o/wI9WAaPDEE8tfG2ReXknY4vrN/WZfMZ6EV8WDUkueidQHvHMFbh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bxJF1Ob/URSnucG2efjgGYtFjWhi8ZSc3eS9xvtrhTLosGazITNZ9Zw+HL1ZdR8eMiwDR8yqUI9L/Z1Izy42OnHNBFZktYb4tr1+djSPkxFc1cEq/4Qi8rU0v4Kvyvxp+jaj4CDAd0jzztCyowNhUYH/B6+RqS0eInwDHeNwX8CTMAyJtuulB7QSwSg8mOL46i7kNiYMfgszXGYhm4HmaEM2Nr5VVffpC8LxQxSDMPk7IImBYB7YqeNhmqgnz3MkO8pWSrwQktyrwxFO5FYlfHsQbs0FT+jRPNPZYOvQpM4wxVltXNyta7B8zeijlkUg3Agw2jMS7nGVVO+POiYuNNYXurBoh2elaG45R2qw8j8QU410/AJ0VS73mIOH6gQg5HcBr6FIsDNTSp63JUEYVMKI9AKoNazsMilQhONELOIAAAAAAAAAAAAAAAAAAAAAAAAwPTAhMAkGBSsOAwIaBQAEFILRURW4x3qZa6Ut68bDC0x0phIlBBRD8OE1Vj/W4cw3wNBQiVZ8WX5O4AICBAAAAA=="
	},
	"Invoicing": {
		"Enabled": true,
		"InvoicingStartYearAndMonthReference": "2020-01-01",
		"FaceTecLiveness3dMonthlyUsersInvoicingEnabled": true,
		"GroupAnonymousFaceTecLiveness3dMonthlyUsersByInstallationId": true,
		"FaceTecTransactionMode": "AttemptBased",
		"GracePeriod": "00:00:01",
		"ProcessingIntervalMinutes": 0.1,
		"ProcessingStandbyBaseInterval": "00:00:10",
		"ProcessingStandbyRandomInterval": "00:00:01"
	},
	"TransactionLimiting": {
		"CacheUsedTransactionsDurationMinutes": 0.1,
		"TransactionLimits": {
			"TST": 100
		}
	},
	"PdfService": {
		"ApiKey": "IyO9UeFNjwDdmmWEydTsdYMkv2azuHtJa4kXbxS725E=",
		"Endpoint": "https://localhost:44377"
	}
}
