I am using ArcGIS Token authentication and don't want user interaction for the login process. I found this method from the SessionManager class to generate token but there is no detailed documentation for this.
1) what are the parameters to be passed into this method :
- portalUrl makes sense
- getTokenParam - no idea
- credentialsParam - I am assuming it is a query string containing username and password.
2) How to make this token available with the widget props to be accessible from any widget.
would appreciate it if someone could help me with it.
thanks