AmazonSES
6 days ago
ElasticEmail
6 days ago
Gmail
6 days ago
Mail
6 days ago
MailerSend
6 days ago
Mailgun
6 days ago
Mailjet
6 days ago
Mandrill
6 days ago
Outlook
6 days ago
Pepipost
6 days ago
PepipostAPI
6 days ago
Postmark
6 days ago
Resend
6 days ago
SMTP
6 days ago
SMTP2GO
6 days ago
SMTPcom
6 days ago
Sendgrid
6 days ago
Sendinblue
6 days ago
Sendlayer
6 days ago
SparkPost
6 days ago
Zoho
6 days ago
AuthAbstract.php
6 days ago
AuthInterface.php
6 days ago
Loader.php
6 days ago
MailerAbstract.php
6 days ago
MailerInterface.php
6 days ago
OptionsAbstract.php
6 days ago
OptionsInterface.php
6 days ago
AuthInterface.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPMailSMTP\Providers; |
| 4 | |
| 5 | /** |
| 6 | * Interface AuthInterface. |
| 7 | * |
| 8 | * @since 1.0.0 |
| 9 | */ |
| 10 | interface AuthInterface { |
| 11 | |
| 12 | /** |
| 13 | * Whether user saved Client ID/App ID and Client Secret/App Password or not. |
| 14 | * Both options are required. |
| 15 | * |
| 16 | * @since 1.0.0 |
| 17 | * |
| 18 | * @return bool |
| 19 | */ |
| 20 | public function is_clients_saved(); |
| 21 | |
| 22 | /** |
| 23 | * Whether we have an access and refresh tokens or not. |
| 24 | * |
| 25 | * @since 1.0.0 |
| 26 | * |
| 27 | * @return bool |
| 28 | */ |
| 29 | public function is_auth_required(); |
| 30 | } |
| 31 |