def __add_endpoints(self):
for mapping in endpoint_mappings:<EOL><INDENT>if all(map(self.config.get, mapping.keys)):<EOL><INDENT>self.__add_single_endpoint(<EOL>mapping.cls, mapping.endpoint, mapping.is_protected<EOL>)<EOL><DEDENT><DEDENT>self.bp.exception(exceptions.SanicJWTException)(<EOL>self.responses.exception_response<EOL>)<EOL>if not self.instance_is_blueprint:<EOL><INDENT>url_prefix = self._get_url_prefix()<EOL>self.instance.blueprint(self.bp, url_prefix=url_prefix)<EOL><DEDENT>
Initialize the Sanic JWT Blueprint and add to the instance initialized