Esri Business Analyst Server API for Silverlight 2.2 Reference
BAServerTokenProvider Constructor(IAuthentication,String)
See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Authentication Namespace > BAServerTokenProvider Class > BAServerTokenProvider Constructor : BAServerTokenProvider Constructor(IAuthentication,String)

authentication
An object used for getting user credentials.
url
The URL to the ArcGIS REST Token Service associated with the Business Analyst Server.

Glossary Item Box

Initializes a new instance of the BAServerTokenProvider class.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

authentication
An object used for getting user credentials.
url
The URL to the ArcGIS REST Token Service associated with the Business Analyst Server.

Remarks

The authentication object provides user credentials receiving. When its GetUserCredentials method is invoked, the userInfo parameter contains the "url" key specifying the token service URL, the "clientID" key specifying the client ID string, and the "timeout" key specifying the expiration timeout in minutes. These entries should be passed to the output userCredentials object along with the "username" and "password" entries.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.