add documentation for setGithubAuth function