LimeSurvey: master 9862e48a

Author Committer Branch Timestamp Parent
K Foster GitHub master 2024-07-29 12:04 master 88b7aeec
Changeset

QE-1039 API Auth refresh (03924)

  • QE-1039: - rename AuthSession to AuthTokenSimple

  • QE-1039: - add simple auth interface and refactor

  • QE-1039: Refactor API commands

  • QE-1039: Authentication is handled by endpoint rather than command

  • QE-1039: Formatting fixes

  • QE-1039: Refactor API authentication

  • QE-1039: Fix API auth unit-tests

  • QE-1039: EditorLink auth

  • QE-1039: Refactor API Auth token simple

  • QE-1039: Add token refresh API endpoint

  • QE-1039: Update open-api and swagger docs

  • QE-1039: Auth create and refresh endpoint return expires and userId

  • QE-1039: REST API auth token returns creation time

mod - application/config/rest/v1.php Diff File
mod - application/config/rest/v1/survey-group.php Diff File
mod - application/config/rest/v1/survey.php Diff File
mod - application/config/rest/v1/user.php Diff File
mod - application/controllers/EditorLinkController.php Diff File
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File
rm - application/libraries/Api/Auth/AuthSession.php Diff
add - application/libraries/Api/Authentication/AuthenticationException.php Diff File
add - application/libraries/Api/Authentication/AuthenticationInterface.php Diff File
add - application/libraries/Api/Authentication/AuthenticationTokenSimple.php Diff File
add - application/libraries/Api/Authentication/SessionUtil.php Diff File
add - application/libraries/Api/Command/V1/AuthSessionCreate.php Diff File
add - application/libraries/Api/Command/V1/AuthTokenSimpleRefresh.php Diff File
mod - application/libraries/Api/Command/V1/SurveyDetail.php Diff File
mod - application/libraries/Api/Command/V1/SurveyGroupList.php Diff File
mod - application/libraries/Api/Command/V1/SurveyList.php Diff File
mod - application/libraries/Api/Command/V1/SurveyPatch.php Diff File
mod - application/libraries/Api/Command/V1/SurveyTemplate.php Diff File
mod - application/libraries/Api/Command/V1/UserList.php Diff File
mod - application/libraries/Api/Rest/Endpoint.php Diff File
mod - application/libraries/Api/Rest/Endpoint/EndpointFactory.php Diff File
mod - docs/open-api/v1.json Diff File
add - tests/unit/api/SessionUtil.php Diff File
mod - tests/unit/api/command/mixin/AssertResponse.php Diff File