Skip to content

verification hooks #24

@dcwatson

Description

@dcwatson

It would be nice to have some hooks into the verify workflow, to know when a user passed/failed verification. I think the basic idea would be to add a verify kwarg to IdP.authenticate, sp.utils.authenticate, and SAMLAuthenticationBackend.authenticate, then pass verify=True when authenticating a user for verification. Maybe the default implementation in SAMLAuthenticationBackend.authenticate could send a custom user_verified signal with a success parameter. Or maybe separate signals for pass/fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions