NAME

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

VERSION

Version 0.02

functions

getTokenOnBehalfOf($varshashref)

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