Skip to content

Commit

Permalink
Merge pull request #89 from hashicorp/lafentres/update-service-providers
Browse files Browse the repository at this point in the history
Add Azure DevOps Server, Azure DevOps Services, and Bitbucket Server Legacy as OAuth Client ServiceProviders
  • Loading branch information
lafentres committed Nov 7, 2019
2 parents 284e980 + 0448af8 commit b5bb416
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions oauth_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,18 @@ type ServiceProviderType string

// List of available VCS types.
const (
ServiceProviderBitbucket ServiceProviderType = "bitbucket_hosted"
ServiceProviderAzureDevOpsServer ServiceProviderType = "ado_server"
ServiceProviderAzureDevOpsServices ServiceProviderType = "ado_services"
ServiceProviderBitbucket ServiceProviderType = "bitbucket_hosted"
// Bitbucket Server v5.4.0 and above
ServiceProviderBitbucketServer ServiceProviderType = "bitbucket_server"
ServiceProviderGithub ServiceProviderType = "github"
ServiceProviderGithubEE ServiceProviderType = "github_enterprise"
ServiceProviderGitlab ServiceProviderType = "gitlab_hosted"
ServiceProviderGitlabCE ServiceProviderType = "gitlab_community_edition"
ServiceProviderGitlabEE ServiceProviderType = "gitlab_enterprise_edition"
// Bitbucket Server v5.3.0 and below
ServiceProviderBitbucketServerLegacy ServiceProviderType = "bitbucket_server_legacy"
ServiceProviderGithub ServiceProviderType = "github"
ServiceProviderGithubEE ServiceProviderType = "github_enterprise"
ServiceProviderGitlab ServiceProviderType = "gitlab_hosted"
ServiceProviderGitlabCE ServiceProviderType = "gitlab_community_edition"
ServiceProviderGitlabEE ServiceProviderType = "gitlab_enterprise_edition"
)

// OAuthClientList represents a list of OAuth clients.
Expand Down

0 comments on commit b5bb416

Please sign in to comment.