Test + fixes for new auth draft
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Plugin / Authentication / User.pm
CommitLineData
06675d2e 1#!/usr/bin/perl
2
3package Catalyst::Plugin::Authentication::User;
4
5use strict;
6use warnings;
7
8sub id { die "virtual" }
9
10sub store { die "virtual" }
11
12sub supports { die "virtual" }
13
14__PACKAGE__;
15
16__END__
17
18=pod
19
20=head1 NAME
21
22Catalyst::Plugin::Authentication::User - Base class for user objects.
23
24=head1 SYNOPSIS
25
26 package MyStore::User;
27 use base qw/Catalyst::Plugin::Authentication::User/;
28
29=head1 DESCRIPTION
30
31This is the base class for authenticated
32
33=head1 METHODS
34
35=over 4
36
37=item id
38
39A unique ID by which a user can be retrieved from the store.
40
41=item store
42
43Should return a class name that can be used to refetch the user using it's
44ID.
45
46=item supports
47
48An introspection method used to determine what features a user object has, to support credential and authorization plugins.
49
50=item
51
52=back
53
54=cut
55
56