validate Collector Request

private open fun validateCollectorRequest(applicationId: String, serverSecret: String): AmetistaApplication

Method to validate the collector request checking the server secret and the identifier of the application sent

Return

result of the validation as AmetistaApplication

Parameters

applicationId

Identifier of the application

serverSecret

User token for authentication