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

oauth: add a generic method OAUTH to choose automatically a supported method #11

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

EdouardVanbelle
Copy link
Contributor

  • OAUTH pseudo method will elect either XOAUTH2 or OAUTHBEARER according to server's capabilities

@Neustradamus
Copy link

@EdouardVanbelle: elect or select?

Sieve.php Outdated Show resolved Hide resolved
Sieve.php Outdated
@@ -226,7 +226,8 @@ class Net_Sieve
* @param string $host Hostname of server.
* @param string $port Port of server.
* @param string $logintype Type of login to perform (see
* $supportedAuthMethods).
* $supportedAuthMethods), use `OAUTH` to elect
* the best method between XOAUTH2 & OAUTHBEARER.
Copy link
Contributor

Choose a reason for hiding this comment

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

If you put it this way, then I'd expect an explanation which one is "best".

Also, I'm not native, but "select" word might be better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

rewording done

   * OAUTH pseudo method will elect either XOAUTH2 or OAUTHBEARER according to server's capabilities

Signed-off-by: Edouard Vanbelle <edouard@vanbelle.fr>
@EdouardVanbelle EdouardVanbelle changed the title oauth: add a generic method OAUTH to elect the best method oauth: add a generic method OAUTH to choose the automatically the supported method Dec 27, 2023
@EdouardVanbelle EdouardVanbelle changed the title oauth: add a generic method OAUTH to choose the automatically the supported method oauth: add a generic method OAUTH to choose automatically a supported method Dec 27, 2023
@alecpl alecpl merged commit d3c7c6b into pear:master Dec 29, 2023
9 checks passed
@Neustradamus
Copy link

@alecpl: Have you rights to add "Issues" section in this repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants