Help for this page

Select Code to Download


  1. or download this
    my $auth = Authentication::Manager->new( { store => $store } );
    if ( $auth->authenticate($username, $password) ) {
        delete_the_data_store($store);
    ...
    else {
        throw_some_exception "invalid credentials";
    }
    
  2. or download this
    my $auth = Authentication::Manager->new( { store => $store } );
    $auth->authenticate($username, $password);
    delete_the_data_store($store);