{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "Cors": {
    "AllowedOrigins": []
  },
  "Jwt": {
    "Issuer": "OmsorgCore",
    "Audience": "OmsorgClients",
    "ExpiryMinutes": 60
  },
  "RefreshToken": {
    "ExpiryDays": 60
  },
  "PasswordPolicy": {
    "MinLength": 8
  },
  "Auth": {
    "MaxLoginFailures": 5,
    "LoginLockoutMinutes": 10
  },
  "Storage": {
    "DocumentsRootPath": "App_Data/documents",
    "MaxDocumentSizeBytes": 20971520,
    "AllowedDocumentContentTypes": "application/pdf,image/jpeg,image/png"
  },
  "Email": {
    "PinExpiryMinutes": 5,
    "MaxAttempts": 3,
    "ResetTokenExpiryMinutes": 10,
    "RequestCooldownSeconds": 60,
    "Provider": "Console",
    "PasswordResetAccount": "PasswordReset",
    "UserInviteAccount": "UserInvite",
    "Smtp": {
      "Host": "",
      "Port": 587,
      "EnableSsl": true
    },
    "Accounts": {
      "PasswordReset": {
        "Username": "",
        "Password": "",
        "SenderAddress": "",
        "SenderDisplayName": "OMSORG"
      },
      "UserInvite": {
        "Username": "",
        "Password": "",
        "SenderAddress": "",
        "SenderDisplayName": "OMSORG"
      }
    },
    "PasswordResetTemplate": {
      "Subject": "Ihr OMSORG Passwort-Reset-Code",
      "BodyTemplate": "Ihr Code lautet: $RESET_PIN$\nDer Code ist $RESET_PIN_EXPIRY_MINUTES$ Minuten gültig."
    },
    "UserInviteTemplate": {
      "Subject": "Ihr OMSORG-Zugang",
      "BodyTemplate": "Für Sie wurde ein OMSORG-Konto angelegt.\nIhr Einladungscode lautet: $INVITE_PIN$\nDer Code ist $INVITE_PIN_EXPIRY_DAYS$ Tage gültig. Damit legen Sie beim ersten Login Ihr eigenes Passwort fest."
    }
  }
}
