Updated API for delegation token

(thumbsup)