oauthenticator icon indicating copy to clipboard operation
oauthenticator copied to clipboard

docs: add explanation section on how subclasses override functions called from the non-overridden `authenticate` function

Open consideRatio opened this issue 2 years ago • 2 comments
trafficstars

The OAuthenticator.authenticate function is not supposed to be overridden, instead the subclasses are to override functions introduced in this project and called from the OAuthenticator.authenticate and check_allowed which is introduced in the Authenticator and overridden by OAuthenticator, and supposed to be overridden again by subclasses.

This section would be relevant to have if writing a tutorial on how to write a custom authenticator.

consideRatio avatar Jul 03 '23 17:07 consideRatio