Packagecom.esri.bacore.client
Classpublic final class UserCredentials
InheritanceUserCredentials Inheritance Object
Implements IAuthentication

The UserCredentials class provides the default implementation of the IAuthentication interface.

Its getUserCredentials method copies properties of the input userInfo object to the result object and sets the username and password property values with user credentials values.



Public Methods
 MethodDefined By
  
UserCredentials(username:String, password:String)
Creates a new instance of the UserCredentials type.
UserCredentials
  
createUserCredentials(userInfo:Object):Object
[static] Creates user credentials object by copying all user info parameters into it.
UserCredentials
  
getUserCredentials(userInfo:Object, responder:IResponder):void
Gets user credentials.
UserCredentials
Constructor Detail
UserCredentials()Constructor
public function UserCredentials(username:String, password:String)

Creates a new instance of the UserCredentials type.

Parameters
username:String — User name.
 
password:String — Password.
Method Detail
createUserCredentials()method
public static function createUserCredentials(userInfo:Object):Object

Creates user credentials object by copying all user info parameters into it.

Parameters

userInfo:Object — Additional information on user (nullable).

Returns
Object — A new object containing all parameters of the user info object.
getUserCredentials()method 
public function getUserCredentials(userInfo:Object, responder:IResponder):void

Gets user credentials.

Parameters

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