-
Notifications
You must be signed in to change notification settings - Fork 29
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
Browser display settings + refactoring #80
Conversation
Release 0.20.0
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
): | ||
auth = httpx_auth.WakaTimeAuthorizationCode( | ||
"jPJQV0op6Pu3b66MWDi8b1wD", | ||
"waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
"<body><div>SUCCESS: {display_time}</div></body>" | ||
) | ||
tab = browser_mock.add_response( | ||
opened_url="https://wakatime.com/oauth/authorize?client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&state=5d0adb208bdbecaf5cfb6de0bf4ba0aea52986f3fc5ea7bc30c4b2db449c17e5c9d15f9a3926476cdaf1c72e9f73c7cfdc624dde0187c38d8c6b04532770df2a&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
method="POST", | ||
url="https://wakatime.com/oauth/token", | ||
html="access_token=waka_tok_12345&token_type=bearer&expires_in=3600&refresh_token=waka_ref_12345&scope=email&example_parameter=example_value", | ||
match_content=b"grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F&client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&code=SplxlOBeZQQYbYS6WxSbIA", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
): | ||
auth = httpx_auth.WakaTimeAuthorizationCode( | ||
"jPJQV0op6Pu3b66MWDi8b1wD", | ||
"waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
) | ||
httpx_auth.OAuth2.display.failure_html = "FAILURE: {display_time}\n{information}" | ||
tab = browser_mock.add_response( | ||
opened_url="https://wakatime.com/oauth/authorize?client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&state=5d0adb208bdbecaf5cfb6de0bf4ba0aea52986f3fc5ea7bc30c4b2db449c17e5c9d15f9a3926476cdaf1c72e9f73c7cfdc624dde0187c38d8c6b04532770df2a&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
): | ||
auth = httpx_auth.WakaTimeAuthorizationCode( | ||
"jPJQV0op6Pu3b66MWDi8b1wD", | ||
"waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
"<body><div>SUCCESS: {display_time}</div></body>" | ||
) | ||
tab = browser_mock.add_response( | ||
opened_url="https://wakatime.com/oauth/authorize?client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&state=5d0adb208bdbecaf5cfb6de0bf4ba0aea52986f3fc5ea7bc30c4b2db449c17e5c9d15f9a3926476cdaf1c72e9f73c7cfdc624dde0187c38d8c6b04532770df2a&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
method="POST", | ||
url="https://wakatime.com/oauth/token", | ||
html="access_token=waka_tok_12345&token_type=bearer&expires_in=3600&refresh_token=waka_ref_12345&scope=email&example_parameter=example_value", | ||
match_content=b"grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F&client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&code=SplxlOBeZQQYbYS6WxSbIA", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
): | ||
auth = httpx_auth.WakaTimeAuthorizationCode( | ||
"jPJQV0op6Pu3b66MWDi8b1wD", | ||
"waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
) | ||
httpx_auth.OAuth2.display.failure_html = "FAILURE: {display_time}\n{information}" | ||
tab = browser_mock.add_response( | ||
opened_url="https://wakatime.com/oauth/authorize?client_id=jPJQV0op6Pu3b66MWDi8b1wD&client_secret=waka_sec_0c4MBGeR9LN74LzV5uelF9SgeQ32CqfeWpIuieneBbsL57dAAlqqJWDiVDJOlsSx61pVwHMKlsb3uMvU&scope=email&response_type=code&state=5d0adb208bdbecaf5cfb6de0bf4ba0aea52986f3fc5ea7bc30c4b2db449c17e5c9d15f9a3926476cdaf1c72e9f73c7cfdc624dde0187c38d8c6b04532770df2a&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2F", |
Check failure
Code scanning / SonarCloud
WakaTime tokens should not be disclosed High test
No description provided.