def install_plugins(self): # Second, check Http Basic Auth self.install(HttpBasicAuthentication()) # Map exceptions to http return codes self.install(ReturnHandlerPlugin(EXCEPTION_CODE_MAPPING)) # Handle jwt auth self.install(JWTAuthentication(self.credentials_manager))
def install_plugins(self): # Check client version self.install( VersionCheckerPlugin(self.server_version, self.min_client_compatible_version)) # Second, check Http Basic Auth self.install(HttpBasicAuthentication()) # Map exceptions to http return codes self.install(ReturnHandlerPlugin(EXCEPTION_CODE_MAPPING)) # Handle jwt auth self.install(JWTAuthentication(self.credentials_manager))