authserver/testCAS/app/Providers/AppServiceProvider.php
author durandn
Mon, 03 Aug 2015 14:17:03 +0200
changeset 69 be6fde8f0ef9
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Implemented timerange for mdplayer and use of it in widget Segment: if enable (option is use_timerange) when clicking a segment user can only read the video on current segment + adapted other widgets that need to detect segment to be able to use this option if it is enable so that segment detection is smoother + adjusted API testing form on iframetesting to use the correct api (form is still hidden by default)

<?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()
    {

    }
}