X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FACME%2FChallenge.pm;fp=src%2FPVE%2FACME%2FChallenge.pm;h=0137cf22274fe85dc98b7a8592dbfbe8437a9e70;hb=f00829fd606b2d3f15828125527a7b6bfda6ba7f;hp=3fb8ab9cde5186232634ec67e2faaa38044cfb12;hpb=9ea3c3d9dee030eaf2ff4b3a662fbd059a5c060b;p=proxmox-acme.git diff --git a/src/PVE/ACME/Challenge.pm b/src/PVE/ACME/Challenge.pm index 3fb8ab9..0137cf2 100644 --- a/src/PVE/ACME/Challenge.pm +++ b/src/PVE/ACME/Challenge.pm @@ -70,14 +70,23 @@ sub get_subplugins { return []; } +# acme => PVE::ACME instance +# auth => authorization object returned by ACME server +# $data => { +# plugin => plugin config data +# alias => optional domain alias +# } +# needs to set $data->{url} to URL of the challenge which has been set up +# can set other $data keys needed by teardown sub sub setup { - my ($class, $acme, $authorization) = @_; + my ($self, $acme, $auth, $data) = @_; die "implement me\n"; } +# see setup sub teardown { - my ($self) = @_; + my ($self, $acme, $auth, $data) = @_; die "implement me\n"; }