Updated API for delegation token