validate
User
And
Fetch
Application
private open fun validateUserAndFetchApplication(userId: String, token: String, applicationId: String): AmetistaApplication
Method to check if the user is allowed to operate (him/she is an ADMIN) and the application exists
Return
whether the user is allowed to operate and the application exists as AmetistaApplication
Parameters
userId
The identifier of the user
token
The token of the user
applicationId
The identifier of the application