python – Missing information in the Ariadne GraphQL docs

I’m trying to add authentication to a Flask-GraphQL API that I’m creating, and I’m using Ariadne to handle some of the GraphQL stuff.

The Ariadne docs (specifically page defines the resolve_login and resolve_logout functions but references an auth variable with functions login, logout, and authenticate that don’t seem to be referenced anywhere else in the docs (so I have no idea what to do with this). Could someone please shed some light on what’s going here?

Read more here: Source link