Merge branch 'Branch_faff3b1'
Routendistanze Berechnung per Google Maps API und openrouteService API
This commit is contained in:
@@ -37,10 +37,19 @@ namespace BeWo.Service.Security
|
||||
string lServiceInterface = lTemp[lTemp.Count - 2];
|
||||
|
||||
// TODO Hier kann man jetzt etwas bauen wer sich für welchen service autorisieren muss...
|
||||
if (lMethodName == "IsUserValid" || lMethodName == "IsUserValidTwoFactor" || lMethodName == "ResetTenant" || lMethodName == "ResetAllTenants" || lMethodName == "GetEmailForUserName")
|
||||
var skip = new string[] { "Download", "Download2", "DownloadInfo", "GetUpdatePlan", "GetUpdateFile" };
|
||||
if (lMethodName == "IsUserValid" || lMethodName == "IsUserValidTwoFactor" || lMethodName == "ResetTenant" || lMethodName == "ResetAllTenant" || lMethodName == "GetEmailForUserName")
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (skip.Contains(lMethodName))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Vergessen neue Methode einzutragen?
|
||||
}
|
||||
|
||||
string lUserName = null, lPassword = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user