Add Google authentication
This commit is contained in:
12
vendor/OAuth/OAuth2/Service/Exception/InvalidAccessTypeException.php
vendored
Executable file
12
vendor/OAuth/OAuth2/Service/Exception/InvalidAccessTypeException.php
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth\OAuth2\Service\Exception;
|
||||
|
||||
use OAuth\Common\Exception\Exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when an invalid accessType for the Google Service is specified
|
||||
*/
|
||||
class InvalidAccessTypeException extends Exception
|
||||
{
|
||||
}
|
||||
10
vendor/OAuth/OAuth2/Service/Exception/InvalidAuthorizationStateException.php
vendored
Executable file
10
vendor/OAuth/OAuth2/Service/Exception/InvalidAuthorizationStateException.php
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth\OAuth2\Service\Exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when the state parameter received during the authorization process is invalid.
|
||||
*/
|
||||
class InvalidAuthorizationStateException extends \Exception
|
||||
{
|
||||
}
|
||||
17
vendor/OAuth/OAuth2/Service/Exception/InvalidScopeException.php
vendored
Executable file
17
vendor/OAuth/OAuth2/Service/Exception/InvalidScopeException.php
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author David Desberg <david@daviddesberg.com>
|
||||
* Released under the MIT license.
|
||||
*/
|
||||
|
||||
namespace OAuth\OAuth2\Service\Exception;
|
||||
|
||||
use OAuth\Common\Exception\Exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when a scope provided to a service is invalid.
|
||||
*/
|
||||
class InvalidScopeException extends Exception
|
||||
{
|
||||
}
|
||||
17
vendor/OAuth/OAuth2/Service/Exception/MissingRefreshTokenException.php
vendored
Executable file
17
vendor/OAuth/OAuth2/Service/Exception/MissingRefreshTokenException.php
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author David Desberg <david@daviddesberg.com>
|
||||
* Released under the MIT license.
|
||||
*/
|
||||
|
||||
namespace OAuth\OAuth2\Service\Exception;
|
||||
|
||||
use OAuth\Common\Exception\Exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when service is requested to refresh the access token but no refresh token can be found.
|
||||
*/
|
||||
class MissingRefreshTokenException extends Exception
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user