getDelegationToken method