/home/kueuepay/public_html/vendor/league/oauth2-server/composer.json
{
    "name": "league/oauth2-server",
    "description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.",
    "homepage": "https://oauth2.thephpleague.com/",
    "license": "MIT",
    "require": {
        "php": "^7.2 || ^8.0",
        "ext-openssl": "*",
        "league/event": "^2.2",
        "league/uri": "^6.4",
        "lcobucci/jwt": "^3.4.6 || ^4.0.4",
        "psr/http-message": "^1.0.1",
        "defuse/php-encryption": "^2.2.1",
        "ext-json": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^8.5.13",
        "laminas/laminas-diactoros": "^2.4.1",
        "phpstan/phpstan": "^0.12.57",
        "phpstan/phpstan-phpunit": "^0.12.16",
        "roave/security-advisories": "dev-master"
    },
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/thephpleague/oauth2-server.git"
        }
    ],
    "keywords": [
        "oauth",
        "oauth2",
        "oauth 2",
        "oauth 2.0",
        "server",
        "auth",
        "authorization",
        "authorisation",
        "authentication",
        "resource",
        "api",
        "auth",
        "protect",
        "secure"
    ],
    "authors": [
        {
            "name": "Alex Bilbie",
            "email": "hello@alexbilbie.com",
            "homepage": "http://www.alexbilbie.com",
            "role": "Developer"
        },
        {
            "name": "Andy Millington",
            "email": "andrew@noexceptions.io",
            "homepage": "https://www.noexceptions.io",
            "role": "Developer"
        }
    ],
    "replace": {
        "lncd/oauth2": "*",
        "league/oauth2server": "*"
    },
    "autoload": {
        "psr-4": {
            "League\\OAuth2\\Server\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "LeagueTests\\": "tests/"
        }
    }
}
Error Handling

Error Handling

In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.