function LogoutAndClear() {
    authToken = null;
    displayName = null;
    userName = null;

    localStorage.removeItem("authToken");
    localStorage.removeItem("displayName");
    localStorage.removeItem("userName");
}
//Clear security info from storage to log the user out
Clear security info from storage to log the user out
Clear security info from storage to log the user out
function LogoutAndClear() {
    authToken = null;
    displayName = null;
    userName = null;
    localStorage.removeItem("authToken");
    localStorage.removeItem("displayName");
    localStorage.removeItem("userName");
}
function LogoutAndClear ( ) { authToken = null ; displayName = null ; userName = null ; localStorage . removeItem ( "authToken" ) ; localStorage . removeItem ( "displayName" ) ; localStorage . removeItem ( "userName" ) ; }
Clear security info from storage to log the user out
Clear security info from storage to log the user out