예제 #1
0
 def get_signature_backend(self):
     """Return signature backend instance."""
     backend_settings = docusign_settings(self.request)
     signature_backend = django_anysign.get_signature_backend(
         'docusign',
         **backend_settings
     )
     return signature_backend
예제 #2
0
 def get_redirect_url(self, *args, **kwargs):
     """Return URL where signer is redirected once doc has been signed."""
     signer = self.get_object()
     backend_settings = docusign_settings(self.request)
     signature_backend = django_anysign.get_signature_backend(
         'docusign', **backend_settings)
     signer_return_url = self.request.build_absolute_uri(
         signature_backend.get_signer_return_url(signer))
     url = signature_backend.post_recipient_view(
         signer, signer_return_url=signer_return_url)
     return url
예제 #3
0
 def get_redirect_url(self, *args, **kwargs):
     """Return URL where signer is redirected once doc has been signed."""
     signer = self.get_object()
     backend_settings = docusign_settings(self.request)
     signature_backend = django_anysign.get_signature_backend(
         'docusign',
         **backend_settings
     )
     signer_return_url = self.request.build_absolute_uri(
         signature_backend.get_signer_return_url(signer))
     url = signature_backend.post_recipient_view(
         signer, signer_return_url=signer_return_url)
     return url