authserver/testCAS/app/Providers/AppServiceProvider.php
author durandn
Fri, 09 Sep 2016 11:01:58 +0200
changeset 196 1b539c9480f9
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Imported mdplayer updates + Permalink on each comment (using AnnotationsList and Mediafragment) + view "iframe_hash" that forwards the hash to the iframe to test that the hash jump works properly

<?php namespace TestCAS\Providers;

use Illuminate\Support\ServiceProvider;
use Cas;
use phpCAS;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Cas::connection();
        phpCAS::setExtraCurlOption(CURLOPT_SSL_VERIFYHOST, 0);
        phpCAS::setFixedCallbackURL("https://homestead.app/pgtcallback");
        phpCAS::setPGTStorageFile(env("TICKET_STORAGE_PATH"));
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {

    }
}