This file contains hidden or 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
| <?php | |
| /* | |
| * This file is part of the TYPO3 CMS project. | |
| * | |
| * It is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU General Public License, either version 2 | |
| * of the License, or any later version. | |
| * | |
| * For the full copyright and license information, please read the | |
| * LICENSE.txt file that was distributed with this source code. |
This file contains hidden or 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
| <?php | |
| require_once('vendor/autoload.php'); | |
| use Firebase\JWT\JWT; | |
| use phpseclib\Crypt\RSA; | |
| use phpseclib\Math\BigInteger; | |
| class ApiDemo { | |
| const OpenIdConfig = "https://cognito-identity.amazonaws.com/.well-known/openid-configuration"; | |
| const CognitoIdentityKeyEndpoint = "https://cognito-identity.amazonaws.com/.well-known/jwks_uri"; | |
| public function run() { |
This file contains hidden or 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
| version: '3.3' | |
| services: | |
| sslproxy: | |
| image: fsouza/docker-ssl-proxy | |
| ports: | |
| - "443:443" | |
| restart: always | |
| environment: | |
| DOMAIN: "api.local" |
OlderNewer