Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarqube Widget - token authentication support #283

Merged
merged 23 commits into from
Oct 23, 2020

Conversation

yahorm
Copy link
Collaborator

@yahorm yahorm commented Oct 21, 2020

No description provided.

@yahorm yahorm self-assigned this Oct 21, 2020
Copy link
Contributor

@szymon-owczarzak szymon-owczarzak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Look at my comments
  2. Extend AsyncWidget with the method authenticationTypes which returns setOf(AuthType.BASIC) by default and can be overwritten in specific widgets. The order in the set will be used by HttpClient to guess wich authType to use first - if config does not math this auth type (for example token is not set) then next will be used.

@szymon-owczarzak szymon-owczarzak added the enhancement New feature or request label Oct 21, 2020
@szymon-owczarzak szymon-owczarzak changed the title Feature/token auth sonarqube Sonarqube Widget - token authentication support Oct 21, 2020
@yahorm yahorm merged commit 30c8957 into master Oct 23, 2020
@yahorm yahorm deleted the feature/token-auth-sonarqube branch October 23, 2020 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants