criver

tokanValidity

Discussion created by criver on Sep 30, 2012
Latest reply on Dec 6, 2012 by flspat
Hi

I'm trying to generate a token /without/ using the identityManager class.  When I try calling generateToken (from IdentityManagerBase()) I get an error "Cannot read property 'tokenValidity' of undefined"

(i.e.)
var tokenGetter = esri.IdentityManagerBase();
var token = tokenGetter.generateToken(serverInfo,userinfo);


I'm at a loss as to where this is being thrown.  I expect there is some additional setup I need to do before I call this method, but it escapes me.  Can anyone shed light on this?

Thanks!

Outcomes