The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dancer2::Plugin::Auth::Extensible::Test - test suite for Auth::Extensible plugin

DESCRIPTION

Test suite for Dancer2::Plugin::Auth::Extensible which can also be used by external providers. If you have written your own provider then you really want to use this since it should make sure your provider conforms as Dancer2::Plugin::Auth::Extensible expects it to. It will also save you writing piles of tests yourself.

FUNCTIONS

testme $psgi_app @test_names?

Current valid test names:

  • base

    This test is always run whether or not it is supplied in @test_names. This tests all methods/functions that all providers must provide.

  • create_user

    Test provider's create_user method.

  • update_user

    Test provider's update_user and update_current_user methods.

  • password_reset

  • user_password

  • lastlogin

    Test provider's password_expired function.

  • expired