{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext)'
Method: login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext)
Method Full Name:     Sys$Services$_AuthenticationService$login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext)
Class: _AuthenticationService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_AuthenticationService$login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext) {
2     /// <summary locid="M:J#Sys.Services._AuthenticationService.login" />
3     /// <param name="username" type="String" mayBeNull="false"></param>
4     /// <param name="password" type="String" mayBeNull="true"></param>
5     /// <param name="isPersistent" type="Boolean" optional="true" mayBeNull="true"></param>
6     /// <param name="customInfo" type="String" optional="true" mayBeNull="true"></param>
7     /// <param name="redirectUrl" type="String" optional="true" mayBeNull="true"></param>
8     /// <param name="loginCompletedCallback" type="Function" optional="true" mayBeNull="true"></param>
9     /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
10    /// <param name="userContext" optional="true" mayBeNull="true"></param>
11    var e = Function._validateParams(arguments, [
12    {name: "username", type: String},
13    {name: "password", type: String, mayBeNull: true},
14    {name: "isPersistent", type: Boolean, mayBeNull: true, optional: true},
15    {name: "customInfo", type: String, mayBeNull: true, optional: true},
16    {name: "redirectUrl", type: String, mayBeNull: true, optional: true},
17    {name: "loginCompletedCallback", type: Function, mayBeNull: true, optional: true},
18    {name: "failedCallback", type: Function, mayBeNull: true, optional: true},
19    {name: "userContext", mayBeNull: true, optional: true}
20    ]);
21    if (e) throw e;
22    this._invoke(this._get_path(), "Login", false,
23    { userName: username, password: password, createPersistentCookie: isPersistent },
24    Function.createDelegate(this, this._onLoginComplete),
25    Function.createDelegate(this, this._onLoginFailed),
26    [username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext]);
27  }
This is the JavaScript source for method login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_AuthenticationService$login(username, password, isPersistent, customInfo, redirectUrl, loginCompletedCallback, failedCallback, userContext). It belongs to the class _AuthenticationService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map