Auth functional.