Uiinfrastructure API Docs  
 

LoginHelper.AttemptBasicAuthLogin Method 

Attempts to create and connect a new user session. This method is used for Basic Auth logins. Unfortunately, in Basic Auth the user name and password are encoded in the character encoding of the client machine, and the server does not know what that is. Therefore we have to guess the appropriate encoding. The user credentials passed to this method need to be unencoded as win-1252, shift-jis, Big5, etc... before they can be used. The credentials are basic auth credentials; user name and password are separated by a colon.

public LoginResult AttemptBasicAuthLogin(
   string sEncodedCredentials,
   ISessionManager subSession,
   ISessionManager persistentSubSession,
   IApplication application,
   string strRequestURL,
   IXPRequest request,
   IWebData webData
);

Return Value

LoginResult the result of this login attempt.

See Also

LoginHelper Class | com.plumtree.uiinfrastructure.login Namespace