示例#1
0
def get_adobesign_backend(signature_type,
                          api_user=None,
                          on_behalf_of_user=None):
    adobe_client = AdobeSignClient(root_url=signature_type.api_root_url,
                                   access_token=signature_type.access_token,
                                   api_user=api_user,
                                   on_behalf_of_user=on_behalf_of_user)
    return DemoAdobeSignBackend(adobe_client)
def adobe_sign_backend():
    adobe_sign_client = AdobeSignClient(root_url='http://fake',
                                        access_token='ThisIsAToken')
    return AdobeSignBackend(adobe_sign_client)
示例#3
0
 def signature_backend_options(self):
     return {
         'adobesign_client': AdobeSignClient(self.root_url,
                                             self.access_token)
     }
def adobe_sign_client():
    return AdobeSignClient(root_url='http://test',
                           access_token='TestToken',
                           api_user='******',
                           on_behalf_of_user='******')