# Functions
Authentication retrieves information about: 1 - The token used in the current request 2 - Information about the user associated with this token
And also 3 - Validates if the token is active for the current user
If the authentication succeeds, the email fied is added to the context.
No description provided by the author
NewAuthorizationMiddleware creates a new authorization middleware using the provided authorizer.
NewMetricsMiddleware creates a new metrics middleware pushing the metrics through the given metrics client.
No description provided by the author
ValidateUUIDs returns a middleware that inspects the request struct in search for ID parameters in the request path and validates their compliance with UUID format and/or some exceptions.
# Interfaces
AuthorizeMiddleware implements the authorization over an endpoint.
Authorizer provides defines the funcs that the clients of the middleware must provide.
MetricsMiddleware implements a metrics middleware over an endpoint.