« DRI/Protocol/EPP/Extensions/VeriSign/Platforms/COM_NET.pm
↑ Summary
DRI/Protocol/EPP/Extensions/VeriSign/Platforms/NameStore.pm »
| 1 | ## Domain Registry Interface, VeriSign EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2006,2008-2014,2016,2018 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. | ||
| 4 | ## | ||
| 5 | ## This file is part of Net::DRI | ||
| 6 | ## | ||
| 7 | ## Net::DRI is free software; you can redistribute it and/or modify | ||
| 8 | ## it under the terms of the GNU General Public License as published by | ||
| 9 | ## the Free Software Foundation; either version 2 of the License, or | ||
| 10 | ## (at your option) any later version. | ||
| 11 | ## | ||
| 12 | ## See the LICENSE file that comes with this distribution for more details. | ||
| 13 | #################################################################################################### | ||
| 14 | |||
| 15 | package Net::DRI::Protocol::EPP::Extensions::VeriSign::Platforms::NAME; | ||
| 16 | |||
| 17 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 2 | ▶ | use base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | use Net::DRI::Protocol::EPP::Extensions::VeriSign::EmailFwd; | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Net::DRI::Protocol::EPP::Extensions::VeriSign::Platforms::NAME - VeriSign dotName (.NAME) EPP extensions for Net::DRI | ||
| 29 | |||
| 30 | =head1 DESCRIPTION | ||
| 31 | |||
| 32 | Please see the README file for details. | ||
| 33 | |||
| 34 | Note that the PremiumDomain extension is not loaded by default. | ||
| 35 | |||
| 36 | =head1 SUPPORT | ||
| 37 | |||
| 38 | For now, support questions should be sent to: | ||
| 39 | |||
| 40 | E<lt>netdri@dotandco.comE<gt> | ||
| 41 | |||
| 42 | Please also see the SUPPORT file in the distribution. | ||
| 43 | |||
| 44 | =head1 SEE ALSO | ||
| 45 | |||
| 46 | E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> | ||
| 47 | |||
| 48 | =head1 AUTHOR | ||
| 49 | |||
| 50 | Patrick Mevzek, E<lt>netdri@dotandco.comE<gt> | ||
| 51 | |||
| 52 | =head1 COPYRIGHT | ||
| 53 | |||
| 54 | Copyright (c) 2006,2008-2014,2016,2018 Patrick Mevzek <netdri@dotandco.com>. | ||
| 55 | All rights reserved. | ||
| 56 | |||
| 57 | This program is free software; you can redistribute it and/or modify | ||
| 58 | it under the terms of the GNU General Public License as published by | ||
| 59 | the Free Software Foundation; either version 2 of the License, or | ||
| 60 | (at your option) any later version. | ||
| 61 | |||
| 62 | See the LICENSE file that comes with this distribution for more details. | ||
| 63 | |||
| 64 | =cut | ||
| 65 | |||
| 66 | #################################################################################################### | ||
| 67 | |||
| 68 | sub setup | ||
| 69 | { | ||
| 70 | my ($self,$rp)=@_; | ||
| 71 | $self->default_parameters()->{subproductid}=$rp->{default_product} || '_auto_'; | ||
| 72 | $self->ns({ emailFwd => 'http://www.nic.name/epp/emailFwd-1.0' }); | ||
| 73 | $self->capabilities('emailfwd_update','info',['set']); | ||
| 74 | return; | ||
| 75 | } | ||
| 76 | |||
| 77 | ## List of VeriSign extensions: http://www.verisigninc.com/en_US/channel-resources/domain-registry-products/epp-sdks/index.xhtml?loc=en_US | ||
| 78 | ## But see http://www.verisign.com/assets/epp-sdk/Verisign-EPP-SDK-Prog-Guide.pdf §13 Mappings and Extensions | ||
| 79 | ## TODO for .NAME: defreg, namewatch, persreg | ||
| 80 | |||
| 81 | sub default_extensions | ||
| 82 | { | ||
| 83 | my ($self,$rp)=@_; | ||
| 84 | my @c=qw/VeriSign::Sync VeriSign::PollRGP VeriSign::IDNLanguage VeriSign::EmailFwd GracePeriod SecDNS/; | ||
| 85 | push @c,'VeriSign::NameStore'; ## this must come last | ||
| 86 | return @c; | ||
| 87 | } | ||
| 88 | |||
| 89 | #################################################################################################### | ||
| 90 | 1; | ||