ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Copyright MITRE 2020. More...
Data Structures | |
class | OpenIDConnectClient |
Require the CURL and JSON PHP extensions to be installed. More... | |
class | OpenIDConnectClientException |
OpenIDConnect Exception Class. More... | |
Functions | |
if(!class_exists('\phpseclib\Crypt\RSA') &&!class_exists('Crypt_RSA')) | base64url_decode ($base64url) |
JWT signature verification support by Jonathan Reed jdree Licensed under the same license as the rest of this file. d@mi t.eduMore... | |
b64url2b64 ($base64url) | |
Per RFC4648, "base64 encoding with URL-safe and filename-safe
alphabet". More... | |
Copyright MITRE 2020.
OpenIDConnectClient for PHP5 Author: Michael Jett mjett @mit re.or g
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Jumbojett\b64url2b64 | ( | $base64url | ) |
Per RFC4648, "base64 encoding with URL-safe and filename-safe alphabet".
This just replaces characters 62 and 63. None of the reference implementations seem to restore the padding if necessary, but we'll do it anyway.
string | $base64url |
Definition at line 56 of file OpenIDConnectClient.php.
Referenced by base64url_decode(), and Jumbojett\OpenIDConnectClient\verifyRSAJWTsignature().
if (!class_exists('\phpseclib\Crypt\RSA') &&!class_exists( 'Crypt_RSA')) Jumbojett\base64url_decode | ( | $base64url | ) |
JWT signature verification support by Jonathan Reed jdree Licensed under the same license as the rest of this file. d@mi t.edu
phpseclib is required to validate the signatures of some tokens. It can be downloaded from: http://phpseclib.sourceforge.net/ A wrapper around base64_decode which decodes Base64URL-encoded data, which is not the same alphabet as base64.
string | $base64url |
Definition at line 44 of file OpenIDConnectClient.php.
References b64url2b64().
Referenced by Jumbojett\OpenIDConnectClient\decodeJWT(), and Jumbojett\OpenIDConnectClient\verifyJWTsignature().