There is no need to move this class into the library. This is part of the authentication process, closely related to its UI. That's not part of the library at this moment.