初始化仓库

This commit is contained in:
wangxiaowei
2025-04-22 14:09:52 +08:00
commit 8b100110bb
5155 changed files with 664201 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<?php
namespace Overtrue\Socialite\Exceptions;
use JetBrains\PhpStorm\Pure;
class AuthorizeFailedException extends Exception
{
public array $body;
#[Pure]
public function __construct(string $message, mixed $body)
{
parent::__construct($message, -1);
$this->body = (array) $body;
}
}

View File

@ -0,0 +1,7 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class BadRequestException extends Exception
{
}

View File

@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class Exception extends \Exception
{
//
}

View File

@ -0,0 +1,9 @@
<?php
namespace Overtrue\Socialite\Exceptions\FeiShu;
use Overtrue\Socialite\Exceptions;
class InvalidTicketException extends Exceptions\Exception
{
}

View File

@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class InvalidArgumentException extends \InvalidArgumentException
{
//
}

View File

@ -0,0 +1,18 @@
<?php
namespace Overtrue\Socialite\Exceptions;
use JetBrains\PhpStorm\Pure;
class InvalidTokenException extends Exception
{
public string $token;
#[Pure]
public function __construct(string $message, string $token)
{
parent::__construct($message, -1);
$this->token = $token;
}
}

View File

@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class MethodDoesNotSupportException extends Exception
{
//
}