Initial commit
This commit is contained in:
44
Backend/appsettings.json
Normal file
44
Backend/appsettings.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Backend.Security.Authentication.JwtTokenAuthenticationHandler": "None"
|
||||
}
|
||||
},
|
||||
"MySQL": "SERVER=213.136.89.237;DATABASE=WebDesktop;UID=WebDesktop;PASSWORD=Hft6bP@V3IkYvqS1",
|
||||
"Origins": ["https://desktop.leon-hoppe.de"],
|
||||
"AllowedHosts": "*",
|
||||
"Authentication": {
|
||||
"RefreshTokenExpirationTimeInHours": 12,
|
||||
"AccessTokenExpirationTimeInMinutes": 5,
|
||||
"DebugAccessToken": null
|
||||
},
|
||||
"Users": {
|
||||
"DefaultPermissions": ["group.user"]
|
||||
},
|
||||
"Groups": [
|
||||
{
|
||||
"Permission": "group.admin",
|
||||
"Name": "Admin",
|
||||
"Inherits": [],
|
||||
"Permissions": ["*"]
|
||||
},
|
||||
{
|
||||
"Permission": "group.user",
|
||||
"Name": "User",
|
||||
"Inherits": [],
|
||||
"Permissions": []
|
||||
}
|
||||
],
|
||||
"Messages": {
|
||||
"Users": {
|
||||
"NotFound": "This user does not exist",
|
||||
"InvalidEditData": "Userdata does not match security rules",
|
||||
"InvalidRegisterData": "Userdata does not match security rules",
|
||||
"WrongPassword": "Wrong password",
|
||||
"UsernameOrEmailExist": "This username or email already exist",
|
||||
"InvalidRefreshToken": "Invalid RefreshToken"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user