Package | com.esri.bacore.client |
Class | public final class UserCredentials |
Inheritance | UserCredentials Object |
Implements | IAuthentication |
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.
Method | Defined 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 |
UserCredentials | () | Constructor |
public function UserCredentials(username:String, password:String)
Creates a new instance of the UserCredentials type.
Parametersusername:String — User name.
| |
password:String — Password.
|
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).
|
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.
|