| 1 | package OpenID::Login::Types; | ||
| 2 | { | ||
| 3 | 4 | $OpenID::Login::Types::VERSION = '0.1.2'; | |
| 4 | } | ||
| 5 | |||
| 6 | # ABSTRACT: Types for Net-OpenIdLogin. | ||
| 7 | |||
| 8 | 4 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 4 | ▶ | use OpenID::Login::Extension; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 4 | subtype 'Extension_List', as 'HashRef[OpenID::Login::Extension]'; | |
| 12 | |||
| 13 | 1 | ▶ | coerce 'Extension_List', from 'ArrayRef', via { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 14 | 1 | my $ret = { map { ( $_->{uri} => OpenID::Login::Extension->new($_) ) } @$_ }; | |
| 15 | 4 | }; | |
| 16 | |||
| 17 | 4 | ▶ | no Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 4 | 1; | |
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | =pod | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | OpenID::Login::Types - Types for Net-OpenIdLogin. | ||
| 27 | |||
| 28 | =head1 VERSION | ||
| 29 | |||
| 30 | version 0.1.2 | ||
| 31 | |||
| 32 | =head1 AUTHOR | ||
| 33 | |||
| 34 | Holger Eiboeck <realholgi@cpan.org> | ||
| 35 | |||
| 36 | =head1 COPYRIGHT AND LICENSE | ||
| 37 | |||
| 38 | This software is copyright (c) 2013 by Holger Eiboeck. | ||
| 39 | |||
| 40 | This is free software; you can redistribute it and/or modify it under | ||
| 41 | the same terms as the Perl 5 programming language system itself. | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||
| 45 | |||
| 46 | __END__ | ||