diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
commit | 75160b12821f7f4299cce7f0b69c83c1502ae071 (patch) | |
tree | 27e25e4ccaef45f0c58b22831164050d1af1d4db /vendor/stripe/stripe-php/lib/Exception/OAuth | |
parent | prvi-commit (diff) | |
download | 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip |
Diffstat (limited to 'vendor/stripe/stripe-php/lib/Exception/OAuth')
9 files changed, 109 insertions, 109 deletions
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/ExceptionInterface.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/ExceptionInterface.php index dd42662..bc1986f 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/ExceptionInterface.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/ExceptionInterface.php @@ -1,10 +1,10 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * The base interface for all Stripe OAuth exceptions. - */ -interface ExceptionInterface extends \Stripe\Exception\ExceptionInterface -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * The base interface for all Stripe OAuth exceptions.
+ */
+interface ExceptionInterface extends \Stripe\Exception\ExceptionInterface
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidClientException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidClientException.php index 1393451..ffb8550 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidClientException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidClientException.php @@ -1,12 +1,12 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * InvalidClientException is thrown when the client_id does not belong to you, - * the stripe_user_id does not exist or is not connected to your application, - * or the API key mode (live or test mode) does not match the client_id mode. - */ -class InvalidClientException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * InvalidClientException is thrown when the client_id does not belong to you,
+ * the stripe_user_id does not exist or is not connected to your application,
+ * or the API key mode (live or test mode) does not match the client_id mode.
+ */
+class InvalidClientException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidGrantException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidGrantException.php index 898b3a7..daf51eb 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidGrantException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidGrantException.php @@ -1,13 +1,13 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * InvalidGrantException is thrown when a specified code doesn't exist, is - * expired, has been used, or doesn't belong to you; a refresh token doesn't - * exist, or doesn't belong to you; or if an API key's mode (live or test) - * doesn't match the mode of a code or refresh token. - */ -class InvalidGrantException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * InvalidGrantException is thrown when a specified code doesn't exist, is
+ * expired, has been used, or doesn't belong to you; a refresh token doesn't
+ * exist, or doesn't belong to you; or if an API key's mode (live or test)
+ * doesn't match the mode of a code or refresh token.
+ */
+class InvalidGrantException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidRequestException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidRequestException.php index 59dac7c..0c6845f 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidRequestException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidRequestException.php @@ -1,11 +1,11 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * InvalidRequestException is thrown when a code, refresh token, or grant - * type parameter is not provided, but was required. - */ -class InvalidRequestException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * InvalidRequestException is thrown when a code, refresh token, or grant
+ * type parameter is not provided, but was required.
+ */
+class InvalidRequestException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidScopeException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidScopeException.php index 091729d..18c36c5 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidScopeException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/InvalidScopeException.php @@ -1,10 +1,10 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * InvalidScopeException is thrown when an invalid scope parameter is provided. - */ -class InvalidScopeException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * InvalidScopeException is thrown when an invalid scope parameter is provided.
+ */
+class InvalidScopeException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php index bded3c8..15d2b9c 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php @@ -1,19 +1,19 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * Implements properties and methods common to all (non-SPL) Stripe OAuth - * exceptions. - */ -abstract class OAuthErrorException extends \Stripe\Exception\ApiErrorException -{ - protected function constructErrorObject() - { - if (null === $this->jsonBody) { - return null; - } - - return \Stripe\OAuthErrorObject::constructFrom($this->jsonBody); - } -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * Implements properties and methods common to all (non-SPL) Stripe OAuth
+ * exceptions.
+ */
+abstract class OAuthErrorException extends \Stripe\Exception\ApiErrorException
+{
+ protected function constructErrorObject()
+ {
+ if (null === $this->jsonBody) {
+ return null;
+ }
+
+ return \Stripe\OAuthErrorObject::constructFrom($this->jsonBody);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnknownOAuthErrorException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnknownOAuthErrorException.php index c8dba29..f1d6f94 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnknownOAuthErrorException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnknownOAuthErrorException.php @@ -1,12 +1,12 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * UnknownApiErrorException is thrown when the client library receives an - * error from the OAuth API it doesn't know about. Receiving this error usually - * means that your client library is outdated and should be upgraded. - */ -class UnknownOAuthErrorException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * UnknownApiErrorException is thrown when the client library receives an
+ * error from the OAuth API it doesn't know about. Receiving this error usually
+ * means that your client library is outdated and should be upgraded.
+ */
+class UnknownOAuthErrorException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedGrantTypeException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedGrantTypeException.php index 418635d..7a2971d 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedGrantTypeException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedGrantTypeException.php @@ -1,11 +1,11 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * UnsupportedGrantTypeException is thrown when an unuspported grant type - * parameter is specified. - */ -class UnsupportedGrantTypeException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * UnsupportedGrantTypeException is thrown when an unuspported grant type
+ * parameter is specified.
+ */
+class UnsupportedGrantTypeException extends OAuthErrorException
+{
+}
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedResponseTypeException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedResponseTypeException.php index 26742a8..58502d0 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedResponseTypeException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/UnsupportedResponseTypeException.php @@ -1,11 +1,11 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * UnsupportedResponseTypeException is thrown when an unsupported response type - * parameter is specified. - */ -class UnsupportedResponseTypeException extends OAuthErrorException -{ -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * UnsupportedResponseTypeException is thrown when an unsupported response type
+ * parameter is specified.
+ */
+class UnsupportedResponseTypeException extends OAuthErrorException
+{
+}
|