forked from KHardern/VatsimSSO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
503 additions
and
744 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,38 +1,35 @@ | ||
{ | ||
"name": "vatsim/sso", | ||
"description": "VATSIM OAuth", | ||
"keywords": [ | ||
"name" : "vatsim/sso", | ||
"description" : "VATSIM OAuth", | ||
"keywords" : [ | ||
"vatsim", | ||
"oauth", | ||
"laravel", | ||
"sso" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
"license" : "MIT", | ||
"authors" : [ | ||
{ | ||
"name": "Kieran Hardern", | ||
"email": "[email protected]" | ||
"name" : "Kieran Hardern", | ||
"email" : "[email protected]" | ||
}, | ||
{ | ||
"name": "Roy de Vos Burchart", | ||
"email": "[email protected]", | ||
"homepage": "http://www.bonroyage.com" | ||
"name" : "Roy de Vos Burchart", | ||
"email" : "[email protected]", | ||
"homepage" : "http://www.bonroyage.com" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/KHardern/VatsimSSO/issues", | ||
"wiki": "https://github.com/KHardern/VatsimSSO/wiki" | ||
"support" : { | ||
"issues" : "https://github.com/KHardern/VatsimSSO/issues", | ||
"wiki" : "https://github.com/KHardern/VatsimSSO/wiki" | ||
}, | ||
"require": { | ||
"php": ">=5.4.0", | ||
"illuminate/support": "5.*", | ||
"illuminate/container": "5.*", | ||
"bonroyage/oauth": "1.*" | ||
"require" : { | ||
"php" : ">=5.4.0", | ||
"bonroyage/oauth" : "1.*" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Vatsim\\OAuth": "src/" | ||
"autoload" : { | ||
"psr-4" : { | ||
"Vatsim\\OAuth\\" : "src/" | ||
} | ||
}, | ||
"minimum-stability": "dev" | ||
"minimum-stability" : "dev" | ||
} |
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,25 @@ | ||
<?php namespace Vatsim\OAuth; | ||
|
||
use Eher\OAuth\RsaSha1 as BaseRsaSha1; | ||
use Eher\OAuth\OAuthException; | ||
|
||
class RsaSha1 extends BaseRsaSha1 { | ||
|
||
private $cert = false; | ||
|
||
public function __construct ( $cert ) | ||
{ | ||
$this->cert = $cert; | ||
} | ||
|
||
public function fetch_private_cert ( &$request ) | ||
{ | ||
return $this->cert; | ||
} | ||
|
||
public function fetch_public_cert ( &$request ) | ||
{ | ||
throw new OAuthException("fetch_public_cert not implemented"); | ||
} | ||
|
||
} |
Oops, something went wrong.