Skip to content

Commit

Permalink
azrepos: add a binding manager to store org-user maps
Browse files Browse the repository at this point in the history
Add a new binding manager component that can be used to 'bind' user
accounts to Azure DevOps organisations. This enables the Azure Repos
host provider to attempt silent authentication requests via MSAL - to
attempt to use an existing access token from the cache.

We only allow binding at the organisation level (and not any other
level) as this is the most common scenario: one user for an entire Azure
DevOps organisation.

If the user wishes to override the chosen user for a particular clone
they can do so by binding the user to the local repository
configuration, rather than the default global configuration.

Furthermore, if the user wishes to use a different user account for a
particular remote within a repository, they can set the username in the
remote URL.
  • Loading branch information
mjcheetham committed Mar 9, 2021
1 parent 242073a commit 606a475
Show file tree
Hide file tree
Showing 6 changed files with 1,268 additions and 17 deletions.
Loading

0 comments on commit 606a475

Please sign in to comment.