-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from darynmitchell/merge-multi-idp-back-into-…
…aactroneo Merge multi-idp fork (nirajp) into laravel-saml2
- Loading branch information
Showing
15 changed files
with
466 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
{ | ||
"name": "aacotroneo/laravel-saml2", | ||
"description": "A Laravel package for Saml2 integration as a SP (service provider) based on OneLogin toolkit, which is much lightweight than simplesamlphp", | ||
"description": "A Laravel package for Saml2 integration as a SP (service provider) for multiple IdPs, based on OneLogin toolkit which is much more lightweight than simplesamlphp.", | ||
"keywords": ["laravel","saml", "saml2", "onelogin"], | ||
"homepage": "https://github.com/aacotroneo/laravel-saml2", | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"authors": [ | ||
{ | ||
"name": "aacotroneo", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Niraj Patkar", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
|
@@ -18,7 +22,8 @@ | |
"onelogin/php-saml": "^3.0.0" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "0.9.*" | ||
"mockery/mockery": "0.9.*", | ||
"phpunit/phpunit": "~4.0" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
|
@@ -29,10 +34,7 @@ | |
"laravel": { | ||
"providers": [ | ||
"Aacotroneo\\Saml2\\Saml2ServiceProvider" | ||
], | ||
"aliases": { | ||
"Saml2": "Aacotroneo\\Saml2\\Facades\\Saml2Auth" | ||
} | ||
] | ||
} | ||
}, | ||
"minimum-stability": "stable" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace Aacotroneo\Saml2\Events; | ||
|
||
class Saml2Event { | ||
|
||
protected $idp; | ||
|
||
function __construct($idp) | ||
{ | ||
$this->idp = $idp; | ||
} | ||
|
||
public function getSaml2Idp() | ||
{ | ||
return $this->idp; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.