diff --git a/src/Appwrite/Auth/OAuth2.php b/src/Appwrite/Auth/OAuth2.php index 5ef4263833..3956a138c1 100644 --- a/src/Appwrite/Auth/OAuth2.php +++ b/src/Appwrite/Auth/OAuth2.php @@ -81,11 +81,13 @@ abstract class OAuth2 abstract public function getUserEmail(string $accessToken): string; /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - abstract public function isEmailVerififed(): bool; + abstract public function isEmailVerififed(string $accessToken): bool; /** * @param $accessToken diff --git a/src/Appwrite/Auth/OAuth2/Amazon.php b/src/Appwrite/Auth/OAuth2/Amazon.php index 7b8cf6dbb0..d100600592 100644 --- a/src/Appwrite/Auth/OAuth2/Amazon.php +++ b/src/Appwrite/Auth/OAuth2/Amazon.php @@ -147,11 +147,13 @@ class Amazon extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Apple.php b/src/Appwrite/Auth/OAuth2/Apple.php index c380f7b6a7..a58644588c 100644 --- a/src/Appwrite/Auth/OAuth2/Apple.php +++ b/src/Appwrite/Auth/OAuth2/Apple.php @@ -147,11 +147,13 @@ class Apple extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Bitbucket.php b/src/Appwrite/Auth/OAuth2/Bitbucket.php index 5d6c6430d9..c321ca83ba 100644 --- a/src/Appwrite/Auth/OAuth2/Bitbucket.php +++ b/src/Appwrite/Auth/OAuth2/Bitbucket.php @@ -131,11 +131,13 @@ class Bitbucket extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Bitly.php b/src/Appwrite/Auth/OAuth2/Bitly.php index a2d72b492d..0b50e9127f 100644 --- a/src/Appwrite/Auth/OAuth2/Bitly.php +++ b/src/Appwrite/Auth/OAuth2/Bitly.php @@ -149,11 +149,13 @@ class Bitly extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Box.php b/src/Appwrite/Auth/OAuth2/Box.php index a6a1aa27d8..bdc7d52701 100644 --- a/src/Appwrite/Auth/OAuth2/Box.php +++ b/src/Appwrite/Auth/OAuth2/Box.php @@ -148,11 +148,13 @@ class Box extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Discord.php b/src/Appwrite/Auth/OAuth2/Discord.php index 7c31c01e71..b7b58cfa9f 100644 --- a/src/Appwrite/Auth/OAuth2/Discord.php +++ b/src/Appwrite/Auth/OAuth2/Discord.php @@ -142,11 +142,13 @@ class Discord extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Dropbox.php b/src/Appwrite/Auth/OAuth2/Dropbox.php index ea6a9c8fce..592a395a31 100644 --- a/src/Appwrite/Auth/OAuth2/Dropbox.php +++ b/src/Appwrite/Auth/OAuth2/Dropbox.php @@ -132,11 +132,13 @@ class Dropbox extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Facebook.php b/src/Appwrite/Auth/OAuth2/Facebook.php index f4e3c54541..61617d0ea2 100644 --- a/src/Appwrite/Auth/OAuth2/Facebook.php +++ b/src/Appwrite/Auth/OAuth2/Facebook.php @@ -130,11 +130,13 @@ class Facebook extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Github.php b/src/Appwrite/Auth/OAuth2/Github.php index 4ca85f2b13..cdf0119d4b 100644 --- a/src/Appwrite/Auth/OAuth2/Github.php +++ b/src/Appwrite/Auth/OAuth2/Github.php @@ -138,11 +138,13 @@ class Github extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Gitlab.php b/src/Appwrite/Auth/OAuth2/Gitlab.php index 39c827389a..1fa139f566 100644 --- a/src/Appwrite/Auth/OAuth2/Gitlab.php +++ b/src/Appwrite/Auth/OAuth2/Gitlab.php @@ -128,11 +128,13 @@ class Gitlab extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Google.php b/src/Appwrite/Auth/OAuth2/Google.php index b91fd91bee..70d3f9b378 100644 --- a/src/Appwrite/Auth/OAuth2/Google.php +++ b/src/Appwrite/Auth/OAuth2/Google.php @@ -138,11 +138,13 @@ class Google extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Linkedin.php b/src/Appwrite/Auth/OAuth2/Linkedin.php index 577426e96b..5ff8fc42cc 100644 --- a/src/Appwrite/Auth/OAuth2/Linkedin.php +++ b/src/Appwrite/Auth/OAuth2/Linkedin.php @@ -149,11 +149,13 @@ class Linkedin extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Microsoft.php b/src/Appwrite/Auth/OAuth2/Microsoft.php index bc4ea55b51..115756fc46 100644 --- a/src/Appwrite/Auth/OAuth2/Microsoft.php +++ b/src/Appwrite/Auth/OAuth2/Microsoft.php @@ -138,11 +138,13 @@ class Microsoft extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Mock.php b/src/Appwrite/Auth/OAuth2/Mock.php index 494674dfb6..dc53041dcb 100644 --- a/src/Appwrite/Auth/OAuth2/Mock.php +++ b/src/Appwrite/Auth/OAuth2/Mock.php @@ -131,11 +131,13 @@ class Mock extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return true; } diff --git a/src/Appwrite/Auth/OAuth2/Notion.php b/src/Appwrite/Auth/OAuth2/Notion.php index 0a293e3c4d..320f9108b8 100644 --- a/src/Appwrite/Auth/OAuth2/Notion.php +++ b/src/Appwrite/Auth/OAuth2/Notion.php @@ -135,11 +135,13 @@ class Notion extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Paypal.php b/src/Appwrite/Auth/OAuth2/Paypal.php index e87d3f4d76..f74ce9e9f7 100644 --- a/src/Appwrite/Auth/OAuth2/Paypal.php +++ b/src/Appwrite/Auth/OAuth2/Paypal.php @@ -155,11 +155,13 @@ class Paypal extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Salesforce.php b/src/Appwrite/Auth/OAuth2/Salesforce.php index 167629a497..ed640b0951 100644 --- a/src/Appwrite/Auth/OAuth2/Salesforce.php +++ b/src/Appwrite/Auth/OAuth2/Salesforce.php @@ -149,11 +149,13 @@ class Salesforce extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Slack.php b/src/Appwrite/Auth/OAuth2/Slack.php index f11d9fb653..655714c947 100644 --- a/src/Appwrite/Auth/OAuth2/Slack.php +++ b/src/Appwrite/Auth/OAuth2/Slack.php @@ -129,11 +129,13 @@ class Slack extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Spotify.php b/src/Appwrite/Auth/OAuth2/Spotify.php index ac21b6161b..4a9a955c30 100644 --- a/src/Appwrite/Auth/OAuth2/Spotify.php +++ b/src/Appwrite/Auth/OAuth2/Spotify.php @@ -142,11 +142,13 @@ class Spotify extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Stripe.php b/src/Appwrite/Auth/OAuth2/Stripe.php index 35e01c6c87..c136ce5599 100644 --- a/src/Appwrite/Auth/OAuth2/Stripe.php +++ b/src/Appwrite/Auth/OAuth2/Stripe.php @@ -142,11 +142,13 @@ class Stripe extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Tradeshift.php b/src/Appwrite/Auth/OAuth2/Tradeshift.php index b2a9720c89..968bc89b49 100644 --- a/src/Appwrite/Auth/OAuth2/Tradeshift.php +++ b/src/Appwrite/Auth/OAuth2/Tradeshift.php @@ -142,11 +142,13 @@ class Tradeshift extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Twitch.php b/src/Appwrite/Auth/OAuth2/Twitch.php index befaeefc14..4c8b35385d 100644 --- a/src/Appwrite/Auth/OAuth2/Twitch.php +++ b/src/Appwrite/Auth/OAuth2/Twitch.php @@ -141,11 +141,13 @@ class Twitch extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Vk.php b/src/Appwrite/Auth/OAuth2/Vk.php index 6bcd9b1691..cbcc98a0e5 100644 --- a/src/Appwrite/Auth/OAuth2/Vk.php +++ b/src/Appwrite/Auth/OAuth2/Vk.php @@ -151,11 +151,13 @@ class Vk extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/WordPress.php b/src/Appwrite/Auth/OAuth2/WordPress.php index c394a96552..76fb010fbd 100644 --- a/src/Appwrite/Auth/OAuth2/WordPress.php +++ b/src/Appwrite/Auth/OAuth2/WordPress.php @@ -132,11 +132,13 @@ class WordPress extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Yahoo.php b/src/Appwrite/Auth/OAuth2/Yahoo.php index b6650cb739..f2c1b2e45c 100644 --- a/src/Appwrite/Auth/OAuth2/Yahoo.php +++ b/src/Appwrite/Auth/OAuth2/Yahoo.php @@ -162,11 +162,13 @@ class Yahoo extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Yammer.php b/src/Appwrite/Auth/OAuth2/Yammer.php index 97e6f5e133..00c1c512cf 100644 --- a/src/Appwrite/Auth/OAuth2/Yammer.php +++ b/src/Appwrite/Auth/OAuth2/Yammer.php @@ -131,11 +131,13 @@ class Yammer extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Yandex.php b/src/Appwrite/Auth/OAuth2/Yandex.php index 4aa4a93cfe..f25d366f8e 100644 --- a/src/Appwrite/Auth/OAuth2/Yandex.php +++ b/src/Appwrite/Auth/OAuth2/Yandex.php @@ -145,11 +145,13 @@ class Yandex extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; } diff --git a/src/Appwrite/Auth/OAuth2/Zoom.php b/src/Appwrite/Auth/OAuth2/Zoom.php index f0f322e571..df63749fb0 100644 --- a/src/Appwrite/Auth/OAuth2/Zoom.php +++ b/src/Appwrite/Auth/OAuth2/Zoom.php @@ -127,11 +127,13 @@ class Zoom extends OAuth2 } /** - * Is the OAuth email verified? + * Check if the OAuth email is verified + * + * @param $accessToken * * @return bool */ - public function isEmailVerififed(): bool + public function isEmailVerififed(string $accessToken): bool { return false; }