Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)
Authentication object using HelloSign's access token

    

src/h/e/hellosign-python-sdk-0.3.8/hellosign_sdk/hsclient.py   hellosign-python-sdk(Download)
from hellosign_sdk.resource.embedded import Embedded
from hellosign_sdk.resource.unclaimed_draft import UnclaimedDraft
from hellosign_sdk.utils.hsaccesstokenauth import HSAccessTokenAuth
from requests.auth import HTTPBasicAuth
 
                                "client_id": client_id, "secret": secret})
        oauth = HSAccessTokenAuth(
            response['access_token'],
            response['token_type'], response['refresh_token'],
            response['expires_in'], response['state'])
 
        if access_token_type and access_token:
            return HSAccessTokenAuth(access_token_type, access_token)
        elif api_key:
            return HTTPBasicAuth(api_key, '')