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