| 1 | ## Domain Registry Interface, EURid EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2005,2007-2012,2018 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. | ||
| 4 | ## 2014 Michael Kefeder <michael.kefeder@world4you.com>. | ||
| 5 | ## | ||
| 6 | ## This file is part of Net::DRI | ||
| 7 | ## | ||
| 8 | ## Net::DRI is free software; you can redistribute it and/or modify | ||
| 9 | ## it under the terms of the GNU General Public License as published by | ||
| 10 | ## the Free Software Foundation; either version 2 of the License, or | ||
| 11 | ## (at your option) any later version. | ||
| 12 | ## | ||
| 13 | ## See the LICENSE file that comes with this distribution for more details. | ||
| 14 | #################################################################################################### | ||
| 15 | |||
| 16 | package Net::DRI::Protocol::EPP::Extensions::EURid; | ||
| 17 | |||
| 18 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | use Net::DRI::Data::Contact::EURid; | ||
| 24 | |||
| 25 | =pod | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Net::DRI::Protocol::EPP::Extensions::EURid - EURid (.EU) EPP extensions (release 5.6) for Net::DRI | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | Please see the README file for details. | ||
| 34 | |||
| 35 | =head1 SUPPORT | ||
| 36 | |||
| 37 | For now, support questions should be sent to: | ||
| 38 | |||
| 39 | E<lt>netdri@dotandco.comE<gt> | ||
| 40 | |||
| 41 | Please also see the SUPPORT file in the distribution. | ||
| 42 | |||
| 43 | =head1 SEE ALSO | ||
| 44 | |||
| 45 | E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | Patrick Mevzek, E<lt>netdri@dotandco.comE<gt> | ||
| 50 | |||
| 51 | =head1 COPYRIGHT | ||
| 52 | |||
| 53 | Copyright (c) 2005,2007-2012i,2018 Patrick Mevzek <netdri@dotandco.com>. | ||
| 54 | 2014 Michael Kefeder <michael.kefeder@world4you.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 | my $version=$self->version(); | ||
| 72 | |||
| 73 | ## NOT handled : dss, dynUpdate, euridcom | ||
| 74 | # $self->ns({epp => 'http://www.eurid.eu/xml/epp/epp-1.0'}); | ||
| 75 | # $self->ns({ map { $_ => 'http://www.eurid.eu/xml/epp/'.$_.'-1.0' } qw/extendedInfo pendingTransaction/ }); | ||
| 76 | $self->ns({ map { $_ => 'http://www.eurid.eu/xml/epp/'.$_.'-1.1' } qw/nsgroup/ }); | ||
| 77 | $self->capabilities('contact_update','status',undef); ## No changes in status possible for .EU domains/contacts | ||
| 78 | $self->capabilities('domain_update','status',undef); | ||
| 79 | $self->capabilities('domain_update','nsgroup',[ 'add','del']); | ||
| 80 | $self->factories('contact',sub { return Net::DRI::Data::Contact::EURid->new(); }); | ||
| 81 | $self->default_parameters({domain_create => { auth => { pw => '' } } }); | ||
| 82 | return; | ||
| 83 | } | ||
| 84 | |||
| 85 | ## TODO Keygroup momentarily not used, in order to upgrade it to -1.1 | ||
| 86 | ## TODO same for nsgroup, but -1.0 is still alowed | ||
| 87 | ## TODO EURid::Message removed for now | ||
| 88 | sub default_extensions { return qw/EURid::Session EURid::Domain EURid::Contact EURid::Registrar EURid::Notifications EURid::IDN NSgroup SecDNS/; } | ||
| 89 | |||
| 90 | #################################################################################################### | ||
| 91 | 1; | ||