Request authenticator
Last updated
Last updated
[io/http/server/utils/Request authenticator]
Authenticates request using the provided authentication method.
Keywords: authenticate, bearer token
request:
Receives request to be authenticated
params: {optional "bearerToken": string}
Receives authentication parameters.
request:
Sends request appended with authentication parameters.
error: {"error": "incorrect bearer token"}