Rewritten the oauth2 system to be more modular and also adjusted the default config

This commit is contained in:
Marcel Baumgartner
2023-05-21 20:30:49 +02:00
parent beae4b8d90
commit a8f8030a83
12 changed files with 355 additions and 379 deletions

View File

@@ -30,4 +30,17 @@ public static class StringHelper
return result;
}
public static string CapitalizeFirstCharacter(string input)
{
if (string.IsNullOrEmpty(input))
{
return input;
}
char firstChar = char.ToUpper(input[0]);
string restOfString = input.Substring(1);
return firstChar + restOfString;
}
}