Auth mechanism return value interface isn't well-defined

Bug #492470 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Triaged
Low
Unassigned

Bug Description

ivle.auth.authenticate() (in the new library layout) thinks that auth mechs
can return True (for success), False (for authoritative failure) or None
(for unauthoritative failure). False isn't used in any module; they all
raise AuthError() instead. The check for False should probably be removed.

Tags: auth refactor
Revision history for this message
William Grant (wgrant) wrote :

We should stabilise this interface before 1.0.

William Grant (wgrant)
tags: added: auth refactor
William Grant (wgrant)
Changed in ivle:
milestone: 1.0 → none
William Grant (wgrant)
Changed in ivle:
assignee: William Grant (wgrant) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.