TilmeldCheckUsernameCallback: ((user: User & UserData, data: {
    username: string;
}) => Promise<{
    message?: string;
    result: boolean;
}>)

This is run when the user has entered an otherwise valid username into the signup form. It should return a result, which when false will stop the process and return the included message, disallowing the username.