| 1 | ## Domain Registry Interface, SIDN (.NL) EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2009-2012,2014,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::SIDN; | ||
| 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::Util; | ||
| 23 | use Net::DRI::Data::Contact::SIDN; | ||
| 24 | |||
| 25 | #################################################################################################### | ||
| 26 | |||
| 27 | sub setup | ||
| 28 | { | ||
| 29 | my ($self,$rp)=@_; | ||
| 30 | $self->ns({sidn => 'http://rxsd.domain-registry.nl/sidn-ext-epp-1.0'}); | ||
| 31 | $self->capabilities('domain_update','status',undef); ## No changes in status possible | ||
| 32 | $self->capabilities('contact_update','status',undef); | ||
| 33 | $self->capabilities('contact_update','disclose',undef); | ||
| 34 | $self->capabilities('host_update','status',undef); | ||
| 35 | $self->capabilities('host_update','name',undef); | ||
| 36 | $self->factories('contact',sub { return Net::DRI::Data::Contact::SIDN->new(); }); | ||
| 37 | $self->default_parameters({domain_create => { auth => { pw => '' } } }); ## authInfo not used by SIDN | ||
| 38 | return; | ||
| 39 | } | ||
| 40 | |||
| 41 | sub core_contact_types { return ('admin','tech'); } ## No billing contact in .NL | ||
| 42 | sub default_extensions { return qw/SIDN::Message SIDN::Domain SIDN::Contact SIDN::Host SIDN::Notifications SecDNS KeyRelay/; } | ||
| 43 | |||
| 44 | #################################################################################################### | ||
| 45 | 1; | ||
| 46 | |||
| 47 | __END__ | ||
| 48 | |||
| 49 | =pod | ||
| 50 | |||
| 51 | =head1 NAME | ||
| 52 | |||
| 53 | Net::DRI::Protocol::EPP::Extensions::SIDN - SIDN (.NL) EPP extensions for Net::DRI | ||
| 54 | |||
| 55 | =head1 DESCRIPTION | ||
| 56 | |||
| 57 | Please see the README file for details. | ||
| 58 | |||
| 59 | =head1 SUPPORT | ||
| 60 | |||
| 61 | For now, support questions should be sent to: | ||
| 62 | |||
| 63 | E<lt>netdri@dotandco.comE<gt> | ||
| 64 | |||
| 65 | Please also see the SUPPORT file in the distribution. | ||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> | ||
| 70 | |||
| 71 | =head1 AUTHOR | ||
| 72 | |||
| 73 | Patrick Mevzek, E<lt>netdri@dotandco.comE<gt> | ||
| 74 | |||
| 75 | =head1 COPYRIGHT | ||
| 76 | |||
| 77 | Copyright (c) 2009-2012,2014,2018 Patrick Mevzek <netdri@dotandco.com>. | ||
| 78 | All rights reserved. | ||
| 79 | |||
| 80 | This program is free software; you can redistribute it and/or modify | ||
| 81 | it under the terms of the GNU General Public License as published by | ||
| 82 | the Free Software Foundation; either version 2 of the License, or | ||
| 83 | (at your option) any later version. | ||
| 84 | |||
| 85 | See the LICENSE file that comes with this distribution for more details. | ||
| 86 | |||
| 87 | =cut | ||