feature/#30-group-authentication #31

Merged
william merged 10 commits from feature/#30-group-authentication into develop 2022-08-03 08:04:11 -04:00
2 changed files with 7 additions and 6 deletions
Showing only changes of commit 69c5d86d45 - Show all commits

View File

@ -6,22 +6,23 @@ object Constants {
object ControllerPaths {
const val BASE_PATH = "/api"
const val ACCOUNT_BASE_PATH = "$BASE_PATH/account"
const val COMPANY = "$BASE_PATH/company"
const val GROUP_TOKEN = "$BASE_PATH/account/group/token"
const val FILE = "$BASE_PATH/file"
const val GROUP = "$BASE_PATH/account/group"
const val INVENTORY = "$BASE_PATH/inventory"
const val MATERIAL = "$BASE_PATH/material"
const val MATERIAL_TYPE = "$BASE_PATH/materialtype"
const val MIX = "$BASE_PATH/recipe/mix"
const val RECIPE = "$BASE_PATH/recipe"
const val TOUCH_UP_KIT = "$BASE_PATH/touchupkit"
const val USER = "$BASE_PATH/account/user"
const val LOGIN = "$BASE_PATH/account/login"
const val GROUP_LOGIN = "$BASE_PATH/account/login/group"
const val LOGOUT = "$BASE_PATH/account/logout"
const val GROUP = "$ACCOUNT_BASE_PATH/group"
const val GROUP_LOGIN = "$ACCOUNT_BASE_PATH/login/group"
const val LOGIN = "$ACCOUNT_BASE_PATH/login"
const val LOGOUT = "$ACCOUNT_BASE_PATH/logout"
const val USER = "$ACCOUNT_BASE_PATH/user"
}
object CookieNames {

View File

@ -74,6 +74,6 @@ class GroupTokenController(
companion object {
private const val GROUP_TOKEN_COOKIE_HTTP_ONLY = true
private const val GROUP_TOKEN_COOKIE_SAME_SITE = true
private const val GROUP_TOKEN_COOKIE_PATH = Constants.ControllerPaths.GROUP_LOGIN
private const val GROUP_TOKEN_COOKIE_PATH = Constants.ControllerPaths.ACCOUNT_BASE_PATH
}
}