mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
💡 Add comments to document auth flow
This commit is contained in:
parent
de3ab2c479
commit
143bcd75a1
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,8 @@ class ConnectionManager {
|
|||
/**
|
||||
* Checks if the provided ID and secret have a valid format.
|
||||
*
|
||||
* Part of the "Direct Connection" (Manual Connection) flow.
|
||||
*
|
||||
* On failure, an Exception is thrown, while a successful check does not
|
||||
* generate any return value.
|
||||
*
|
||||
|
@ -113,6 +115,8 @@ class ConnectionManager {
|
|||
* Disconnects the current merchant, and then attempts to connect to a
|
||||
* PayPal account using a client ID and secret.
|
||||
*
|
||||
* Part of the "Direct Connection" (Manual Connection) flow.
|
||||
*
|
||||
* @param bool $use_sandbox Whether to use the sandbox mode.
|
||||
* @param string $client_id The client ID.
|
||||
* @param string $client_secret The client secret.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue