TeamMentor.UnitTests.TM_Website.TM_WebServices_Users_ExtensionMethods.login_with_AuthToken C# (CSharp) Method

login_with_AuthToken() public static method

public static login_with_AuthToken ( this webServices, System.Guid authToken ) : bool
webServices this
authToken System.Guid
return bool
        public static bool login_with_AuthToken(this TM_WebServices webServices, Guid authToken)
        {
            try
            {
                "[TeamMentor] login using AuthToken".info();
                webServices.Login_Using_AuthToken(authToken);
                return webServices.Current_User().notNull();
            }
            catch(Exception ex)
            {
                ex.log();
            }
            return false;
        }