Check out Zach's article about how role information, specifically usernames and passwords, is used in Bridge for Git:
Roles and User Information: How Endevor Bridge for Git connects users to actions