AmazonSES
1 year ago
ElasticEmail
1 year ago
Gmail
1 year ago
Mail
1 year ago
Mailgun
1 year ago
Mailjet
1 year ago
Outlook
1 year ago
Pepipost
1 year ago
PepipostAPI
1 year ago
Postmark
1 year ago
SMTP
1 year ago
SMTP2GO
1 year ago
SMTPcom
1 year ago
Sendgrid
1 year ago
Sendinblue
1 year ago
Sendlayer
1 year ago
SparkPost
1 year ago
Zoho
1 year ago
AuthAbstract.php
1 year ago
AuthInterface.php
1 year ago
Loader.php
1 year ago
MailerAbstract.php
1 year ago
MailerInterface.php
1 year ago
OptionsAbstract.php
1 year ago
OptionsInterface.php
1 year 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 |