mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 21:44:12 +08:00
5dfb9b474c
* Remove AbstractOAuth2Controller There is no reason to provide an implementation for a specific oAuth2 library in core; it's not generic enough (eg. auth-twitter can't use it). This code could be moved into another package which auth extensions depend on, but it's a negligible amount of relatively simple code that I don't think it's worth the trouble. * Introduce login providers Users can have many login providers (a combination of a provider name and an identifier for that user, eg. their Facebook ID). After retrieving user data from a provider (eg. Facebook), you pass the login provider details into the Auth\ResponseFactory. If an associated user is found, a response that logs them in will be returned. If not, a registration token will be created so the user can proceed to sign up. Once the token is fulfilled, the login provider will be associated with the user.
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"name": "flarum/core",
|
|
"description": "Delightfully simple forum software.",
|
|
"keywords": ["forum", "discussion"],
|
|
"homepage": "https://flarum.org/",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Toby Zerner",
|
|
"email": "toby.zerner@gmail.com"
|
|
},
|
|
{
|
|
"name": "Franz Liedke",
|
|
"email": "franz@develophp.org"
|
|
}
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/flarum/core/issues",
|
|
"source": "https://github.com/flarum/core",
|
|
"docs": "https://flarum.org/docs/"
|
|
},
|
|
"require": {
|
|
"php": ">=7.1",
|
|
"axy/sourcemap": "^0.1.4",
|
|
"components/font-awesome": "^5.0.6",
|
|
"dflydev/fig-cookies": "^1.0.2",
|
|
"doctrine/dbal": "^2.7",
|
|
"franzl/whoops-middleware": "^0.4.0",
|
|
"illuminate/bus": "5.5.*",
|
|
"illuminate/cache": "5.5.*",
|
|
"illuminate/config": "5.5.*",
|
|
"illuminate/container": "5.5.*",
|
|
"illuminate/contracts": "5.5.*",
|
|
"illuminate/database": "5.5.*",
|
|
"illuminate/events": "5.5.*",
|
|
"illuminate/filesystem": "5.5.*",
|
|
"illuminate/hashing": "5.5.*",
|
|
"illuminate/mail": "5.5.*",
|
|
"illuminate/session": "5.5.*",
|
|
"illuminate/support": "5.5.*",
|
|
"illuminate/validation": "5.5.*",
|
|
"illuminate/view": "5.5.*",
|
|
"intervention/image": "^2.3.0",
|
|
"league/flysystem": "^1.0.11",
|
|
"matthiasmullie/minify": "^1.3",
|
|
"middlewares/base-path": "^1.1",
|
|
"middlewares/base-path-router": "^0.2.1",
|
|
"middlewares/request-handler": "^1.2",
|
|
"monolog/monolog": "^1.16.0",
|
|
"nikic/fast-route": "^0.6",
|
|
"oyejorge/less.php": "^1.7",
|
|
"psr/http-message": "^1.0",
|
|
"psr/http-server-handler": "^1.0",
|
|
"psr/http-server-middleware": "^1.0",
|
|
"s9e/text-formatter": "^1.2.0",
|
|
"symfony/config": "^3.3",
|
|
"symfony/console": "^3.3",
|
|
"symfony/http-foundation": "^3.3",
|
|
"symfony/translation": "^3.3",
|
|
"symfony/yaml": "^3.3",
|
|
"tobscure/json-api": "^0.3.0",
|
|
"zendframework/zend-diactoros": "^1.8.4",
|
|
"zendframework/zend-httphandlerrunner": "^1.0",
|
|
"zendframework/zend-stratigility": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"mockery/mockery": "^0.9.4",
|
|
"phpunit/phpunit": "^6.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\": "src/"
|
|
},
|
|
"files": [
|
|
"src/helpers.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Flarum\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "0.1.x-dev"
|
|
}
|
|
}
|
|
}
|