Jifty::Plugin::Authentication::CAS::Action::CASLogout - - process CAS logout plugin


Jifty-Plugin-Authentication-CAS documentation Contained in the Jifty-Plugin-Authentication-CAS distribution.

Index


Code Index:

NAME

Top

Jifty::Plugin::Authentication::CAS::Action::CASLogout - - process CAS logout plugin

arguments

Return the email and password form fields

take_action

Nuke the current user object


Jifty-Plugin-Authentication-CAS documentation Contained in the Jifty-Plugin-Authentication-CAS distribution.
use warnings;
use strict;

package Jifty::Plugin::Authentication::CAS::Action::CASLogout;
use base qw/Jifty::Action/;

sub arguments {
    return ( {} );
}

sub take_action {
    my $self = shift;
    Jifty->web->current_user(undef);
    return 1;
}

1;