mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
ecphp/cas-bundle: add recipe for version 3.0 (#1687)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
cas:
|
||||
# Change the URL to your own CAS server
|
||||
base_url: https://ecas.ec.europa.eu/cas
|
||||
protocol:
|
||||
login:
|
||||
path: /login
|
||||
default_parameters:
|
||||
service: cas_bundle_homepage
|
||||
serviceValidate:
|
||||
path: /p3/serviceValidate
|
||||
default_parameters:
|
||||
format: JSON
|
||||
#pgtUrl: cas_bundle_proxy_callback
|
||||
logout:
|
||||
path: /logout
|
||||
default_parameters:
|
||||
service: cas_bundle_homepage
|
||||
proxy:
|
||||
path: /proxy
|
||||
proxyValidate:
|
||||
path: /p3/proxyValidate
|
||||
default_parameters:
|
||||
format: JSON
|
||||
#pgtUrl: cas_bundle_proxy_callback
|
||||
@@ -0,0 +1,4 @@
|
||||
security:
|
||||
providers:
|
||||
cas:
|
||||
id: EcPhp\CasBundle\Security\Core\User\CasUserProvider
|
||||
@@ -0,0 +1,3 @@
|
||||
cas_bundle:
|
||||
resource: "@CasBundle/Resources/config/routes/routes.php"
|
||||
prefix: /cas
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EcPhp\\CasBundle\\CasBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user