Packagecom.esri.bacore.client
Interfacepublic interface IAuthentication
Implementors UserCredentials

The IAuthentication interfaces provides user credential for authentication.



Public Methods
 MethodDefined By
  
getUserCredentials(userInfo:Object, responder:IResponder):void
Gets user credentials.
IAuthentication
Method Detail
getUserCredentials()method
public function getUserCredentials(userInfo:Object, responder:IResponder):void

Gets user credentials.

This method requests user credentials and returns them to the responder.result method as in userCredentials object:

responder.result(userCredentials:Object):void;

The input userInfo object can specify additional information such as a token service URL, client ID, and timeout. The implementation of this method must transfer all parameters of the userInfo object to the parameters of the userCredentials object. Some parameters can be changed and authentication parameters should be added.

If the authentication fails, the responder.fault method must be called with an instance of the mx.rpc.events.FaultEvent type.

Parameters

userInfo:Object — Additional information on user (nullable).
 
responder:IResponder — A responder receiving the control on fault and result.