NAME

Document::eSign::Docusign::getTokenOnBehalfOf - Retrieves an OAUTH2 token on behalf of someone else.

VERSION

Version 0.01

functions

getTokenOnBehalfOf($varshashref)

Example:

my $response = $ds->getTokenOnBehalfOf(
    {
        grant_type => 'password', # only option
        scope      => 'api', # only option
        username   => 'otheruser@domain.com',
        bearer     => 'bearer@domain.com
    }
);