File "AuthInterface.php"

Full path: /home/kosmetik/public_html/wp-content/plugins/easy-wp-smtp/src/Providers/AuthInterface.php
File size: 470 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

namespace EasyWPSMTP\Providers;

/**
 * Interface AuthInterface.
 *
 * @since 2.1.0
 */
interface AuthInterface {

	/**
	 * Whether user saved Client ID/App ID and Client Secret/App Password or not.
	 * Both options are required.
	 *
	 * @since 2.1.0
	 *
	 * @return bool
	 */
	public function is_clients_saved();

	/**
	 * Whether we have an access and refresh tokens or not.
	 *
	 * @since 2.1.0
	 *
	 * @return bool
	 */
	public function is_auth_required();
}