Skip to content

Add login with access token mechanism to PolarionClient#2

Open
mbayrak78gh wants to merge 1 commit intopeakflames:mainfrom
mbayrak78gh:main
Open

Add login with access token mechanism to PolarionClient#2
mbayrak78gh wants to merge 1 commit intopeakflames:mainfrom
mbayrak78gh:main

Conversation

@mbayrak78gh
Copy link
Copy Markdown

Please review :)

@schaveyt
Copy link
Copy Markdown
Collaborator

@mbayrak78gh Rather than using a simple string for the AuthMechanism, please migrate to the following

  1. Create an enum AuthenticationMode file and have the enum hold the values of Basic and AccessToken
  2. Use the new AuthenticationMode through with it defaulted to Basic and apply the token logic when the enum equals AccessToken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants