| Authen-CAS-External documentation | Contained in the Authen-CAS-External distribution. |
Authen::CAS::External::Library - Types library
This documentation refers to Authen::CAS::External::Library version 0.06
use Authen::CAS::External::Library qw(ServiceTicket); # This will import ServiceTicket type into your namespace as well as some # helpers like to_ServiceTicket and is_ServiceTicket. See MooseX::Types # for more information.
This module provides types for Authen::CAS::External
No methods.
Provides no coercions.
Provides no coercions.
This module is dependent on the following modules:
Douglas Christopher Wilson, <doug at somethingdoug.com>
Please report any bugs or feature requests to
bug-authen-cas-external at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Authen-CAS-External.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
I highly encourage the submission of bugs and enhancements to my modules.
Copyright 2009 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
| Authen-CAS-External documentation | Contained in the Authen-CAS-External distribution. |
package Authen::CAS::External::Library; use 5.008001; use strict; use utf8; use warnings 'all'; # Module metadata our $AUTHORITY = 'cpan:DOUGDUDE'; our $VERSION = '0.06'; use MooseX::Types 0.08 -declare => [qw( ServiceTicket TicketGrantingCookie )]; # Import built-in types use MooseX::Types::Moose qw(Int Str); # Clean the imports are the end of scope use namespace::clean 0.04 -except => [qw(meta)]; # Type definitions subtype ServiceTicket, as Str, where { m{\A ST-.{1,256}}msx }; subtype TicketGrantingCookie, as Str, where { m{\A [A-Za-z0-9-]+ \z}msx }; 1; __END__