I am also looking for same thing. I would really appreciate any help in this regard.
Can I use bbpress functions as library functions in my code to register user in bbpress, login in bbpress and logout from bbpress programmatically?
If there are some direct functions available for these needs, please let me know.
Thanks in advance.