Skip to content

Commit df18c69

Browse files
committed
namespace changes
1 parent f75f942 commit df18c69

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ The aim of this library is to be as simple as possible. We won't mess with Larav
99
To install Saml2 as a Composer package to be used with Laravel 4, simply add this to your composer.json:
1010

1111
```json
12-
"aacotroneo/laravel-saml2": "0.0.1"
12+
"kn4ppster/laravel-saml2": "0.0.1"
1313
```
1414

1515
..and run `composer update`. Once it's installed, you can register the service provider in `app/config/app.php` in the `providers` array:
1616

1717
```php
1818
'providers' => array(
19-
'Aacotroneo\Saml2\Saml2ServiceProvider',
19+
'Kn4ppster\Saml2\Saml2ServiceProvider',
2020
)
2121
```
2222

23-
Then publish the config file with `php artisan config:publish aacotroneo/laravel-saml2`. This will add the file `app/config/packages/aacotroneo/laravel-saml2/saml_settings.php`. This config is handled almost directly by [one login](https://github.com/onelogin/php-saml) so you may get further references there, but will cover here what's really necessary.
23+
Then publish the config file with `php artisan config:publish kn4ppster/laravel-saml2`. This will add the file `app/config/packages/kn4ppster/laravel-saml2/saml_settings.php`. This config is handled almost directly by [one login](https://github.com/onelogin/php-saml) so you may get further references there, but will cover here what's really necessary.
2424

2525
### Configuration
2626

src/Aacotroneo/Saml2/Facades/Saml2Auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Aacotroneo\Saml2\Facades;
2+
namespace Kn4ppster\Saml2\Facades;
33

44
use Illuminate\Support\Facades\Facade;
55

src/Aacotroneo/Saml2/Saml2Auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Aacotroneo\Saml2;
3+
namespace Kn4ppster\Saml2;
44

55
use OneLogin_Saml2_Auth;
66
use OneLogin_Saml2_Error;

src/Aacotroneo/Saml2/Saml2ServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Aacotroneo\Saml2;
2+
namespace Kn4ppster\Saml2;
33

44
use Config;
55
use Route;
@@ -23,7 +23,7 @@ class Saml2ServiceProvider extends ServiceProvider
2323
*/
2424
public function boot()
2525
{
26-
$this->package('aacotroneo/saml2');
26+
$this->package('kn4ppster/saml2');
2727

2828
include __DIR__ . '/../../routes.php';
2929
}
@@ -44,12 +44,12 @@ public function register()
4444

4545
$config['sp']['singleLogoutService']['url'] = URL::route('saml_sls');
4646

47-
return new \Aacotroneo\Saml2\Saml2Auth($config);
47+
return new \Kn4ppster\Saml2\Saml2Auth($config);
4848
});
4949

5050
$this->app->booting(function () {
5151
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
52-
$loader->alias('Saml2Auth', 'Aacotroneo\Saml2\Facades\Saml2Auth');
52+
$loader->alias('Saml2Auth', 'Kn4ppster\Saml2\Facades\Saml2Auth');
5353
});
5454
}
5555

src/Aacotroneo/Saml2/Saml2User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Aacotroneo\Saml2;
3+
namespace Kn4ppster\Saml2;
44

55
use Input;
66
use OneLogin_Saml2_Auth;
@@ -9,7 +9,7 @@
99
/**
1010
* A simple class that represents the user that 'came' inside the saml2 assertion
1111
* Class Saml2User
12-
* @package Aacotroneo\Saml2
12+
* @package Kn4ppster\Saml2
1313
*/
1414
class Saml2User
1515
{

src/controllers/Saml2Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Aacotroneo\Saml2\Controllers;
3+
namespace Kn4ppster\Saml2\Controllers;
44

55
use Config;
66
use Event;

src/routes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55

66
Route::get('/logout', array(
77
'as' => 'saml_logout',
8-
'uses' => 'Aacotroneo\Saml2\Controllers\Saml2Controller@logout',
8+
'uses' => 'Kn4ppster\Saml2\Controllers\Saml2Controller@logout',
99
));
1010

1111
Route::get('/metadata', array(
1212
'as' => 'saml_metadata',
13-
'uses' => 'Aacotroneo\Saml2\Controllers\Saml2Controller@metadata',
13+
'uses' => 'Kn4ppster\Saml2\Controllers\Saml2Controller@metadata',
1414
));
1515

1616
Route::post('/acs', array(
1717
'as' => 'saml_acs',
18-
'uses' => 'Aacotroneo\Saml2\Controllers\Saml2Controller@acs',
18+
'uses' => 'Kn4ppster\Saml2\Controllers\Saml2Controller@acs',
1919
));
2020

2121
Route::get('/sls', array(
2222
'as' => 'saml_sls',
23-
'uses' => 'Aacotroneo\Saml2\Controllers\Saml2Controller@sls',
23+
'uses' => 'Kn4ppster\Saml2\Controllers\Saml2Controller@sls',
2424
));
2525
});

0 commit comments

Comments
 (0)