Esri Business Analyst Server API for Silverlight 2.2 Reference
ArcGISTokenProvider Constructor(IAuthentication)
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.Tasks Namespace > ArcGISTokenProvider Class > ArcGISTokenProvider Constructor : ArcGISTokenProvider Constructor(IAuthentication)

authentication
An object used for getting user credentials.

Glossary Item Box

Initializes a new instance of the ArcGISTokenProvider class.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

authentication
An object used for getting user credentials.

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.