In a further aspect, provided herein is a method for treating an autoimmune disease by administering to a subject in need thereof a composition containing a therapeutically effective amount of a compound that forms a covalent bond with Bruton\'s tyrosine kinase.