annotate Lib/IMPL/Web/Security/Session.pm @ 218:358f867712b4

sync
author sergey
date Mon, 20 Aug 2012 17:24:48 +0400
parents 4d0e1962161c
children 6d8092d8ce1b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
73
wizard
parents: 69
diff changeset
1 package IMPL::Web::Security::Session;
74
wizard
parents: 73
diff changeset
2 use strict;
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 80
diff changeset
3 use parent qw(IMPL::Security::Context);
69
8c7b88bdb663 Cookie Simple auth support
wizard
parents: 66
diff changeset
4
73
wizard
parents: 69
diff changeset
5 use IMPL::Class::Property;
wizard
parents: 69
diff changeset
6
wizard
parents: 69
diff changeset
7 __PACKAGE__->PassThroughArgs;
wizard
parents: 69
diff changeset
8
wizard
parents: 69
diff changeset
9 BEGIN {
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
10 public property id => prop_all | owner_set;
73
wizard
parents: 69
diff changeset
11 }
wizard
parents: 69
diff changeset
12
74
wizard
parents: 73
diff changeset
13 1;
wizard
parents: 73
diff changeset
14
wizard
parents: 73
diff changeset
15 __END__
wizard
parents: 73
diff changeset
16
wizard
parents: 73
diff changeset
17 =pod
wizard
parents: 73
diff changeset
18
wizard
parents: 73
diff changeset
19 =head1 NAME
wizard
parents: 73
diff changeset
20
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
21 C<IMPL::Web::Security::Session> - Сессия пользователя.
74
wizard
parents: 73
diff changeset
22
wizard
parents: 73
diff changeset
23 =head1 SINOPSYS
wizard
parents: 73
diff changeset
24
wizard
parents: 73
diff changeset
25 =begin code
wizard
parents: 73
diff changeset
26
wizard
parents: 73
diff changeset
27 # define a custom session for the application
wizard
parents: 73
diff changeset
28
wizard
parents: 73
diff changeset
29 package App::Session;
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 80
diff changeset
30 use parent qw(IMPL::Web::Security::Session);
74
wizard
parents: 73
diff changeset
31
wizard
parents: 73
diff changeset
32 use IMPL::Class::Property;
wizard
parents: 73
diff changeset
33
wizard
parents: 73
diff changeset
34 BEGIN {
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
35 public property transactionId => prop_all;
74
wizard
parents: 73
diff changeset
36 }
wizard
parents: 73
diff changeset
37
wizard
parents: 73
diff changeset
38 =end code
wizard
parents: 73
diff changeset
39
wizard
parents: 73
diff changeset
40 =head1 DESCRIPTION
wizard
parents: 73
diff changeset
41
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 80
diff changeset
42 C<use parent qw(IMPL::Security::Context)>
74
wizard
parents: 73
diff changeset
43
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
44 Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
45 для расширения дополнительными атрибутами.
74
wizard
parents: 73
diff changeset
46
wizard
parents: 73
diff changeset
47 =head1 MEMBERS
wizard
parents: 73
diff changeset
48
wizard
parents: 73
diff changeset
49 =over
wizard
parents: 73
diff changeset
50
wizard
parents: 73
diff changeset
51 =item C<[get] id>
wizard
parents: 73
diff changeset
52
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
53 Идентификатор сессии
80
f017c0d7527c minor changes + docs
wizard
parents: 74
diff changeset
54
74
wizard
parents: 73
diff changeset
55 =back
wizard
parents: 73
diff changeset
56
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
57 =cut