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
<?php | |
namespace PhacMan\MultiTool\Keycloak; | |
use PhacMan\MultiTool\Convert\CompoundWord; | |
/** | |
* Extract data from standard keycloak payload. | |
* | |
* @method int|null getExp() 1673171296 |
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
{ | |
"exp": 1673171296, | |
"iat": 1673170996, | |
"jti": "d58f5dc8-fd8f-462b-8a19-716f8f83985b", | |
"iss": "http:\\/\\/localhost:6080\\/auth\\/realms\\/something", | |
"aud": "account", | |
"sub": "36fa0f91-f94d-4a0c-afed-6b7d952e47da", | |
"typ": "Bearer", | |
"azp": "something", | |
"session_state": "2a88c258-f73a-4103-b862-e1fbd8f4e04e", |
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
<?php | |
/** | |
* List of all time zones in Russia: 26 pieces. | |
*/ | |
return [ | |
["zone" => "Asia/Anadyr", "utc" => "+12:00", "country" => "Russian Federation", "code" => "RU"], | |
["zone" => "Asia/Barnaul", "utc" => "+07:00", "country" => "Russian Federation", "code" => "RU"], | |
["zone" => "Asia/Chita", "utc" => "+09:00", "country" => "Russian Federation", "code" => "RU"], |
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
<?php | |
/** | |
* List of all world time zones: 418 pieces. | |
* Groups: Atlantic, Indian, Pacific, Africa, America, Asia, Europe, Antarctica, Arctic. | |
*/ | |
return [ | |
["zone" => "Africa/Abidjan", "utc" => "00:00", "country" => "Côte d'Ivoire", "code" => "CI"], | |
["zone" => "Africa/Accra", "utc" => "00:00", "country" => "Ghana", "code" => "GH"], |