HttpAuthenticator

fun interface HttpAuthenticator

Provides an authorization method for the HTTP requests FHIR Engine sends to the FHIR server.

FHIR Engine does not handle user authentication. The application should handle user authentication and provide the appropriate authentication method so the HTTP requests FHIR Engine sends to the FHIR server contain the correct user information for the request to be authenticated.

The implementation can provide different HttpAuthenticationMethods at runtime. This is important if the authentication token expires or the user needs to re-authenticate.

Functions