def get_consumer(self, request, session_store): return consumer.Consumer(session_store, DjangoOpenIDStore())
def get_server(self, request): return Server(DjangoOpenIDStore())
def get_server(self, request): url = request.build_absolute_uri(request.path) return Server(DjangoOpenIDStore(), op_endpoint=url)