Factory for creating a middleware function which adds an authorization header with the corresponding access token.
Any type of token provider instance
An absolute middleware ready to be used in a middleware stack.
Factory for creating a middleware function which adds an authorization header with the corresponding access token.