| 1 | package OpenID::Lite::Constants::SessionType; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | our %EXPORT_TAGS = ( all => [qw(NO_ENCRYPTION DH_SHA1 DH_SHA256)] ); | |
| 9 | 3 | our @EXPORT_OK = map {@$_} values %EXPORT_TAGS; | |
| 10 | |||
| 11 | 3 | ▶ | use constant NO_ENCRYPTION => 'no-encryption'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 3 | ▶ | use constant DH_SHA1 => 'DH-SHA1'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 3 | ▶ | use constant DH_SHA256 => 'DH-SHA256'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 3 | 1; | |
| 16 | |||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | OpenID::Lite::Constants::SessionType - session type constants | ||
| 21 | |||
| 22 | =head1 SYNOPSIS | ||
| 23 | |||
| 24 | use OpenID::Lite::Constants::SessionType qw(:all); | ||
| 25 | |||
| 26 | or | ||
| 27 | |||
| 28 | use OpenID::Lite::Constants::SessionType qw(NO_ENCRYPTION DH_SHA1 DH_SHA256); | ||
| 29 | |||
| 30 | =head1 DESCRIPTION | ||
| 31 | |||
| 32 | This class provides constatns for each session type. | ||
| 33 | |||
| 34 | =head1 AUTHOR | ||
| 35 | |||
| 36 | Lyo Kato, E<lt>lyo.kato@gmail.comE<gt> | ||
| 37 | |||
| 38 | =head1 COPYRIGHT AND LICENSE | ||
| 39 | |||
| 40 | Copyright (C) 2009 by Lyo Kato | ||
| 41 | |||
| 42 | This library is free software; you can redistribute it and/or modify | ||
| 43 | it under the same terms as Perl itself, either Perl version 5.8.8 or, | ||
| 44 | at your option, any later version of Perl 5 you may have available. | ||
| 45 | |||
| 46 | =cut | ||