public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/lib/vendor/firebase/php-jwt/README.md
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
README.md
on main
Author
Date
Commit
Line
Code
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 1


FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2
[](https://packagist.org/packages/firebase/php-jwt)
[](https://packagist.org/packages/firebase/php-jwt)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 3
[](https://packagist.org/packages/firebase/php-jwt)
[](https://packagist.org/packages/firebase/php-jwt)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 4
[](https://packagist.org/packages/firebase/php-jwt)
[](https://packagist.org/packages/firebase/php-jwt)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 5
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 6
PHP-JWT
PHP-JWT
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 7
=======
=======
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 8
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 9
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 10
Installation
Installation
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 11
------------
------------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 12
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 13
Use composer to manage your dependencies and download PHP-JWT:
Use composer to manage your dependencies and download PHP-JWT:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 14
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 15
```bash
```bash
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 16
composer require firebase/php-jwt
composer require firebase/php-jwt
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 17
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 18
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 19
Optionally, install the `paragonie/sodium_compat` package from composer if your
Optionally, install the `paragonie/sodium_compat` package from composer if your
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 20
php is < 7.2 or does not have libsodium installed:
php is < 7.2 or does not have libsodium installed:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 21
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 22
```bash
```bash
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 23
composer require paragonie/sodium_compat
composer require paragonie/sodium_compat
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 24
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 25
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 26
Example
Example
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 27
-------
-------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 28
```php
```php
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 29
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 30
use Firebase\JWT\Key;
use Firebase\JWT\Key;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 31
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 32
$key = 'example_key';
$key = 'example_key';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 33
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 34
'iss' => 'http://example.org',
'iss' => 'http://example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 35
'aud' => 'http://example.com',
'aud' => 'http://example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 36
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 37
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 38
];
];
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 39
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 40
/**
/**
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 41
* IMPORTANT:
* IMPORTANT:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 42
* You must specify supported algorithms for your application. See
* You must specify supported algorithms for your application. See
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 43
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 44
* for a list of spec-compliant algorithms.
* for a list of spec-compliant algorithms.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 45
*/
*/
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 46
$jwt = JWT::encode($payload, $key, 'HS256');
$jwt = JWT::encode($payload, $key, 'HS256');
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 47
$decoded = JWT::decode($jwt, new Key($key, 'HS256'));
$decoded = JWT::decode($jwt, new Key($key, 'HS256'));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 48
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 49
print_r($decoded);
print_r($decoded);
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 50
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 51
/*
/*
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 52
NOTE: This will now be an object instead of an associative array. To get
NOTE: This will now be an object instead of an associative array. To get
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 53
an associative array, you will need to cast it as such:
an associative array, you will need to cast it as such:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 54
*/
*/
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 55
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 56
$decoded_array = (array) $decoded;
$decoded_array = (array) $decoded;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 57
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 58
/**
/**
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 59
* You can add a leeway to account for when there is a clock skew times between
* You can add a leeway to account for when there is a clock skew times between
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 60
* the signing and verifying servers. It is recommended that this leeway should
* the signing and verifying servers. It is recommended that this leeway should
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 61
* not be bigger than a few minutes.
* not be bigger than a few minutes.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 62
*
*
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 63
* Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
* Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 64
*/
*/
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 65
JWT::$leeway = 60; // $leeway in seconds
JWT::$leeway = 60; // $leeway in seconds
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 66
$decoded = JWT::decode($jwt, new Key($key, 'HS256'));
$decoded = JWT::decode($jwt, new Key($key, 'HS256'));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 67
```
```
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 68
Example encode/decode headers
Example encode/decode headers
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 69
-------
-------
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 70
Decoding the JWT headers without verifying the JWT first is NOT recommended, and is not supported by
Decoding the JWT headers without verifying the JWT first is NOT recommended, and is not supported by
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 71
this library. This is because without verifying the JWT, the header values could have been tampered with.
this library. This is because without verifying the JWT, the header values could have been tampered with.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 72
Any value pulled from an unverified header should be treated as if it could be any string sent in from an
Any value pulled from an unverified header should be treated as if it could be any string sent in from an
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 73
attacker. If this is something you still want to do in your application for whatever reason, it's possible to
attacker. If this is something you still want to do in your application for whatever reason, it's possible to
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 74
decode the header values manually simply by calling `json_decode` and `base64_decode` on the JWT
decode the header values manually simply by calling `json_decode` and `base64_decode` on the JWT
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 75
header part:
header part:
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 76
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 77
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 78
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 79
$key = 'example_key';
$key = 'example_key';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 80
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 81
'iss' => 'http://example.org',
'iss' => 'http://example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 82
'aud' => 'http://example.com',
'aud' => 'http://example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 83
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 84
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 85
];
];
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 86
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 87
$headers = [
$headers = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 88
'x-forwarded-for' => 'www.google.com'
'x-forwarded-for' => 'www.google.com'
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 89
];
];
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 90
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 91
// Encode headers in the JWT string
// Encode headers in the JWT string
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 92
$jwt = JWT::encode($payload, $key, 'HS256', null, $headers);
$jwt = JWT::encode($payload, $key, 'HS256', null, $headers);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 93
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 94
// Decode headers from the JWT string WITHOUT validation
// Decode headers from the JWT string WITHOUT validation
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 95
// **IMPORTANT**: This operation is vulnerable to attacks, as the JWT has not yet been verified.
// **IMPORTANT**: This operation is vulnerable to attacks, as the JWT has not yet been verified.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 96
// These headers could be any value sent by an attacker.
// These headers could be any value sent by an attacker.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 97
list($headersB64, $payloadB64, $sig) = explode('.', $jwt);
list($headersB64, $payloadB64, $sig) = explode('.', $jwt);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 98
$decoded = json_decode(base64_decode($headersB64), true);
$decoded = json_decode(base64_decode($headersB64), true);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 99
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 100
print_r($decoded);
print_r($decoded);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 101
```
```
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 102
Example with RS256 (openssl)
Example with RS256 (openssl)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 103
----------------------------
----------------------------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 104
```php
```php
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 105
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 106
use Firebase\JWT\Key;
use Firebase\JWT\Key;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 107
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 108
$privateKey = <<<EOD
$privateKey = <<<EOD
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 109
-----BEGIN RSA PRIVATE KEY-----
-----BEGIN RSA PRIVATE KEY-----
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 110
MIIEowIBAAKCAQEAuzWHNM5f+amCjQztc5QTfJfzCC5J4nuW+L/aOxZ4f8J3Frew
MIIEowIBAAKCAQEAuzWHNM5f+amCjQztc5QTfJfzCC5J4nuW+L/aOxZ4f8J3Frew
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 111
M2c/dufrnmedsApb0By7WhaHlcqCh/ScAPyJhzkPYLae7bTVro3hok0zDITR8F6S
M2c/dufrnmedsApb0By7WhaHlcqCh/ScAPyJhzkPYLae7bTVro3hok0zDITR8F6S
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 112
JGL42JAEUk+ILkPI+DONM0+3vzk6Kvfe548tu4czCuqU8BGVOlnp6IqBHhAswNMM
JGL42JAEUk+ILkPI+DONM0+3vzk6Kvfe548tu4czCuqU8BGVOlnp6IqBHhAswNMM
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 113
78pos/2z0CjPM4tbeXqSTTbNkXRboxjU29vSopcT51koWOgiTf3C7nJUoMWZHZI5
78pos/2z0CjPM4tbeXqSTTbNkXRboxjU29vSopcT51koWOgiTf3C7nJUoMWZHZI5
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 114
HqnIhPAG9yv8HAgNk6CMk2CadVHDo4IxjxTzTTqo1SCSH2pooJl9O8at6kkRYsrZ
HqnIhPAG9yv8HAgNk6CMk2CadVHDo4IxjxTzTTqo1SCSH2pooJl9O8at6kkRYsrZ
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 115
WwsKlOFE2LUce7ObnXsYihStBUDoeBQlGG/BwQIDAQABAoIBAFtGaOqNKGwggn9k
WwsKlOFE2LUce7ObnXsYihStBUDoeBQlGG/BwQIDAQABAoIBAFtGaOqNKGwggn9k
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 116
6yzr6GhZ6Wt2rh1Xpq8XUz514UBhPxD7dFRLpbzCrLVpzY80LbmVGJ9+1pJozyWc
6yzr6GhZ6Wt2rh1Xpq8XUz514UBhPxD7dFRLpbzCrLVpzY80LbmVGJ9+1pJozyWc
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 117
VKeCeUdNwbqkr240Oe7GTFmGjDoxU+5/HX/SJYPpC8JZ9oqgEA87iz+WQX9hVoP2
VKeCeUdNwbqkr240Oe7GTFmGjDoxU+5/HX/SJYPpC8JZ9oqgEA87iz+WQX9hVoP2
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 118
oF6EB4ckDvXmk8FMwVZW2l2/kd5mrEVbDaXKxhvUDf52iVD+sGIlTif7mBgR99/b
oF6EB4ckDvXmk8FMwVZW2l2/kd5mrEVbDaXKxhvUDf52iVD+sGIlTif7mBgR99/b
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 119
c3qiCnxCMmfYUnT2eh7Vv2LhCR/G9S6C3R4lA71rEyiU3KgsGfg0d82/XWXbegJW
c3qiCnxCMmfYUnT2eh7Vv2LhCR/G9S6C3R4lA71rEyiU3KgsGfg0d82/XWXbegJW
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 120
h3QbWNtQLxTuIvLq5aAryV3PfaHlPgdgK0ft6ocU2de2FagFka3nfVEyC7IUsNTK
h3QbWNtQLxTuIvLq5aAryV3PfaHlPgdgK0ft6ocU2de2FagFka3nfVEyC7IUsNTK
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 121
bq6nhAECgYEA7d/0DPOIaItl/8BWKyCuAHMss47j0wlGbBSHdJIiS55akMvnAG0M
bq6nhAECgYEA7d/0DPOIaItl/8BWKyCuAHMss47j0wlGbBSHdJIiS55akMvnAG0M
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 122
39y22Qqfzh1at9kBFeYeFIIU82ZLF3xOcE3z6pJZ4Dyvx4BYdXH77odo9uVK9s1l
39y22Qqfzh1at9kBFeYeFIIU82ZLF3xOcE3z6pJZ4Dyvx4BYdXH77odo9uVK9s1l
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 123
3T3BlMcqd1hvZLMS7dviyH79jZo4CXSHiKzc7pQ2YfK5eKxKqONeXuECgYEAyXlG
3T3BlMcqd1hvZLMS7dviyH79jZo4CXSHiKzc7pQ2YfK5eKxKqONeXuECgYEAyXlG
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 124
vonaus/YTb1IBei9HwaccnQ/1HRn6MvfDjb7JJDIBhNClGPt6xRlzBbSZ73c2QEC
vonaus/YTb1IBei9HwaccnQ/1HRn6MvfDjb7JJDIBhNClGPt6xRlzBbSZ73c2QEC
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 125
6Fu9h36K/HZ2qcLd2bXiNyhIV7b6tVKk+0Psoj0dL9EbhsD1OsmE1nTPyAc9XZbb
6Fu9h36K/HZ2qcLd2bXiNyhIV7b6tVKk+0Psoj0dL9EbhsD1OsmE1nTPyAc9XZbb
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 126
OPYxy+dpBCUA8/1U9+uiFoCa7mIbWcSQ+39gHuECgYAz82pQfct30aH4JiBrkNqP
OPYxy+dpBCUA8/1U9+uiFoCa7mIbWcSQ+39gHuECgYAz82pQfct30aH4JiBrkNqP
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 127
nJfRq05UY70uk5k1u0ikLTRoVS/hJu/d4E1Kv4hBMqYCavFSwAwnvHUo51lVCr/y
nJfRq05UY70uk5k1u0ikLTRoVS/hJu/d4E1Kv4hBMqYCavFSwAwnvHUo51lVCr/y
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 128
xQOVYlsgnwBg2MX4+GjmIkqpSVCC8D7j/73MaWb746OIYZervQ8dbKahi2HbpsiG
xQOVYlsgnwBg2MX4+GjmIkqpSVCC8D7j/73MaWb746OIYZervQ8dbKahi2HbpsiG
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 129
8AHcVSA/agxZr38qvWV54QKBgCD5TlDE8x18AuTGQ9FjxAAd7uD0kbXNz2vUYg9L
8AHcVSA/agxZr38qvWV54QKBgCD5TlDE8x18AuTGQ9FjxAAd7uD0kbXNz2vUYg9L
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 130
hFL5tyL3aAAtUrUUw4xhd9IuysRhW/53dU+FsG2dXdJu6CxHjlyEpUJl2iZu/j15
hFL5tyL3aAAtUrUUw4xhd9IuysRhW/53dU+FsG2dXdJu6CxHjlyEpUJl2iZu/j15
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 131
YnMzGWHIEX8+eWRDsw/+Ujtko/B7TinGcWPz3cYl4EAOiCeDUyXnqnO1btCEUU44
YnMzGWHIEX8+eWRDsw/+Ujtko/B7TinGcWPz3cYl4EAOiCeDUyXnqnO1btCEUU44
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 132
DJ1BAoGBAJuPD27ErTSVtId90+M4zFPNibFP50KprVdc8CR37BE7r8vuGgNYXmnI
DJ1BAoGBAJuPD27ErTSVtId90+M4zFPNibFP50KprVdc8CR37BE7r8vuGgNYXmnI
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 133
RLnGP9p3pVgFCktORuYS2J/6t84I3+A17nEoB4xvhTLeAinAW/uTQOUmNicOP4Ek
RLnGP9p3pVgFCktORuYS2J/6t84I3+A17nEoB4xvhTLeAinAW/uTQOUmNicOP4Ek
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 134
2MsLL2kHgL8bLTmvXV4FX+PXphrDKg1XxzOYn0otuoqdAQrkK4og
2MsLL2kHgL8bLTmvXV4FX+PXphrDKg1XxzOYn0otuoqdAQrkK4og
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 135
-----END RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 136
EOD;
EOD;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 137
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 138
$publicKey = <<<EOD
$publicKey = <<<EOD
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 139
-----BEGIN PUBLIC KEY-----
-----BEGIN PUBLIC KEY-----
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 140
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzWHNM5f+amCjQztc5QT
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzWHNM5f+amCjQztc5QT
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 141
fJfzCC5J4nuW+L/aOxZ4f8J3FrewM2c/dufrnmedsApb0By7WhaHlcqCh/ScAPyJ
fJfzCC5J4nuW+L/aOxZ4f8J3FrewM2c/dufrnmedsApb0By7WhaHlcqCh/ScAPyJ
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 142
hzkPYLae7bTVro3hok0zDITR8F6SJGL42JAEUk+ILkPI+DONM0+3vzk6Kvfe548t
hzkPYLae7bTVro3hok0zDITR8F6SJGL42JAEUk+ILkPI+DONM0+3vzk6Kvfe548t
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 143
u4czCuqU8BGVOlnp6IqBHhAswNMM78pos/2z0CjPM4tbeXqSTTbNkXRboxjU29vS
u4czCuqU8BGVOlnp6IqBHhAswNMM78pos/2z0CjPM4tbeXqSTTbNkXRboxjU29vS
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 144
opcT51koWOgiTf3C7nJUoMWZHZI5HqnIhPAG9yv8HAgNk6CMk2CadVHDo4IxjxTz
opcT51koWOgiTf3C7nJUoMWZHZI5HqnIhPAG9yv8HAgNk6CMk2CadVHDo4IxjxTz
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 145
TTqo1SCSH2pooJl9O8at6kkRYsrZWwsKlOFE2LUce7ObnXsYihStBUDoeBQlGG/B
TTqo1SCSH2pooJl9O8at6kkRYsrZWwsKlOFE2LUce7ObnXsYihStBUDoeBQlGG/B
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 146
wQIDAQAB
wQIDAQAB
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 147
-----END PUBLIC KEY-----
-----END PUBLIC KEY-----
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 148
EOD;
EOD;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 149
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 150
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 151
'iss' => 'example.org',
'iss' => 'example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 152
'aud' => 'example.com',
'aud' => 'example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 153
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 154
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 155
];
];
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 156
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 157
$jwt = JWT::encode($payload, $privateKey, 'RS256');
$jwt = JWT::encode($payload, $privateKey, 'RS256');
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 158
echo "Encode:\n" . print_r($jwt, true) . "\n";
echo "Encode:\n" . print_r($jwt, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 159
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 160
$decoded = JWT::decode($jwt, new Key($publicKey, 'RS256'));
$decoded = JWT::decode($jwt, new Key($publicKey, 'RS256'));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 161
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 162
/*
/*
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 163
NOTE: This will now be an object instead of an associative array. To get
NOTE: This will now be an object instead of an associative array. To get
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 164
an associative array, you will need to cast it as such:
an associative array, you will need to cast it as such:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 165
*/
*/
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 166
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 167
$decoded_array = (array) $decoded;
$decoded_array = (array) $decoded;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 168
echo "Decode:\n" . print_r($decoded_array, true) . "\n";
echo "Decode:\n" . print_r($decoded_array, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 169
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 170
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 171
Example with a passphrase
Example with a passphrase
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 172
-------------------------
-------------------------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 173
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 174
```php
```php
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 175
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 176
use Firebase\JWT\Key;
use Firebase\JWT\Key;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 177
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 178
// Your passphrase
// Your passphrase
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 179
$passphrase = '[YOUR_PASSPHRASE]';
$passphrase = '[YOUR_PASSPHRASE]';
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 180
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 181
// Your private key file with passphrase
// Your private key file with passphrase
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 182
// Can be generated with "ssh-keygen -t rsa -m pem"
// Can be generated with "ssh-keygen -t rsa -m pem"
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 183
$privateKeyFile = '/path/to/key-with-passphrase.pem';
$privateKeyFile = '/path/to/key-with-passphrase.pem';
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 184
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 185
// Create a private key of type "resource"
// Create a private key of type "resource"
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 186
$privateKey = openssl_pkey_get_private(
$privateKey = openssl_pkey_get_private(
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 187
file_get_contents($privateKeyFile),
file_get_contents($privateKeyFile),
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 188
$passphrase
$passphrase
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 189
);
);
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 190
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 191
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 192
'iss' => 'example.org',
'iss' => 'example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 193
'aud' => 'example.com',
'aud' => 'example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 194
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 195
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 196
];
];
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 197
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 198
$jwt = JWT::encode($payload, $privateKey, 'RS256');
$jwt = JWT::encode($payload, $privateKey, 'RS256');
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 199
echo "Encode:\n" . print_r($jwt, true) . "\n";
echo "Encode:\n" . print_r($jwt, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 200
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 201
// Get public key from the private key, or pull from from a file.
// Get public key from the private key, or pull from from a file.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 202
$publicKey = openssl_pkey_get_details($privateKey)['key'];
$publicKey = openssl_pkey_get_details($privateKey)['key'];
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 203
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 204
$decoded = JWT::decode($jwt, new Key($publicKey, 'RS256'));
$decoded = JWT::decode($jwt, new Key($publicKey, 'RS256'));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 205
echo "Decode:\n" . print_r((array) $decoded, true) . "\n";
echo "Decode:\n" . print_r((array) $decoded, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 206
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 207
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 208
Example with EdDSA (libsodium and Ed25519 signature)
Example with EdDSA (libsodium and Ed25519 signature)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 209
----------------------------
----------------------------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 210
```php
```php
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 211
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 212
use Firebase\JWT\Key;
use Firebase\JWT\Key;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 213
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 214
// Public and private keys are expected to be Base64 encoded. The last
// Public and private keys are expected to be Base64 encoded. The last
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 215
// non-empty line is used so that keys can be generated with
// non-empty line is used so that keys can be generated with
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 216
// sodium_crypto_sign_keypair(). The secret keys generated by other tools may
// sodium_crypto_sign_keypair(). The secret keys generated by other tools may
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 217
// need to be adjusted to match the input expected by libsodium.
// need to be adjusted to match the input expected by libsodium.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 218
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 219
$keyPair = sodium_crypto_sign_keypair();
$keyPair = sodium_crypto_sign_keypair();
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 220
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 221
$privateKey = base64_encode(sodium_crypto_sign_secretkey($keyPair));
$privateKey = base64_encode(sodium_crypto_sign_secretkey($keyPair));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 222
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 223
$publicKey = base64_encode(sodium_crypto_sign_publickey($keyPair));
$publicKey = base64_encode(sodium_crypto_sign_publickey($keyPair));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 224
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 225
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 226
'iss' => 'example.org',
'iss' => 'example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 227
'aud' => 'example.com',
'aud' => 'example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 228
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 229
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 230
];
];
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 231
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 232
$jwt = JWT::encode($payload, $privateKey, 'EdDSA');
$jwt = JWT::encode($payload, $privateKey, 'EdDSA');
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 233
echo "Encode:\n" . print_r($jwt, true) . "\n";
echo "Encode:\n" . print_r($jwt, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 234
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 235
$decoded = JWT::decode($jwt, new Key($publicKey, 'EdDSA'));
$decoded = JWT::decode($jwt, new Key($publicKey, 'EdDSA'));
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 236
echo "Decode:\n" . print_r((array) $decoded, true) . "\n";
echo "Decode:\n" . print_r((array) $decoded, true) . "\n";
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 237
````
````
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 238
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 239
Example with multiple keys
Example with multiple keys
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 240
--------------------------
--------------------------
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 241
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 242
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 243
use Firebase\JWT\Key;
use Firebase\JWT\Key;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 244
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 245
// Example RSA keys from previous example
// Example RSA keys from previous example
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 246
// $privateKey1 = '...';
// $privateKey1 = '...';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 247
// $publicKey1 = '...';
// $publicKey1 = '...';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 248
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 249
// Example EdDSA keys from previous example
// Example EdDSA keys from previous example
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 250
// $privateKey2 = '...';
// $privateKey2 = '...';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 251
// $publicKey2 = '...';
// $publicKey2 = '...';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 252
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 253
$payload = [
$payload = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 254
'iss' => 'example.org',
'iss' => 'example.org',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 255
'aud' => 'example.com',
'aud' => 'example.com',
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 256
'iat' => 1356999524,
'iat' => 1356999524,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 257
'nbf' => 1357000000
'nbf' => 1357000000
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 258
];
];
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 259
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 260
$jwt1 = JWT::encode($payload, $privateKey1, 'RS256', 'kid1');
$jwt1 = JWT::encode($payload, $privateKey1, 'RS256', 'kid1');
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 261
$jwt2 = JWT::encode($payload, $privateKey2, 'EdDSA', 'kid2');
$jwt2 = JWT::encode($payload, $privateKey2, 'EdDSA', 'kid2');
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 262
echo "Encode 1:\n" . print_r($jwt1, true) . "\n";
echo "Encode 1:\n" . print_r($jwt1, true) . "\n";
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 263
echo "Encode 2:\n" . print_r($jwt2, true) . "\n";
echo "Encode 2:\n" . print_r($jwt2, true) . "\n";
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 264
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 265
$keys = [
$keys = [
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 266
'kid1' => new Key($publicKey1, 'RS256'),
'kid1' => new Key($publicKey1, 'RS256'),
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 267
'kid2' => new Key($publicKey2, 'EdDSA'),
'kid2' => new Key($publicKey2, 'EdDSA'),
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 268
];
];
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 269
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 270
$decoded1 = JWT::decode($jwt1, $keys);
$decoded1 = JWT::decode($jwt1, $keys);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 271
$decoded2 = JWT::decode($jwt2, $keys);
$decoded2 = JWT::decode($jwt2, $keys);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 272
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 273
echo "Decode 1:\n" . print_r((array) $decoded1, true) . "\n";
echo "Decode 1:\n" . print_r((array) $decoded1, true) . "\n";
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 274
echo "Decode 2:\n" . print_r((array) $decoded2, true) . "\n";
echo "Decode 2:\n" . print_r((array) $decoded2, true) . "\n";
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 275
```
```
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 276
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 277
Using JWKs
Using JWKs
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 278
----------
----------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 279
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 280
```php
```php
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 281
use Firebase\JWT\JWK;
use Firebase\JWT\JWK;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 282
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 283
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 284
// Set of keys. The "keys" key is required. For example, the JSON response to
// Set of keys. The "keys" key is required. For example, the JSON response to
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 285
// this endpoint: https://www.gstatic.com/iap/verify/public_key-jwk
// this endpoint: https://www.gstatic.com/iap/verify/public_key-jwk
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 286
$jwks = ['keys' => []];
$jwks = ['keys' => []];
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 287
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 288
// JWK::parseKeySet($jwks) returns an associative array of **kid** to Firebase\JWT\Key
// JWK::parseKeySet($jwks) returns an associative array of **kid** to Firebase\JWT\Key
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 289
// objects. Pass this as the second parameter to JWT::decode.
// objects. Pass this as the second parameter to JWT::decode.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 290
JWT::decode($payload, JWK::parseKeySet($jwks));
JWT::decode($payload, JWK::parseKeySet($jwks));
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 291
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 292
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 293
Using Cached Key Sets
Using Cached Key Sets
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 294
---------------------
---------------------
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 295
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 296
The `CachedKeySet` class can be used to fetch and cache JWKS (JSON Web Key Sets) from a public URI.
The `CachedKeySet` class can be used to fetch and cache JWKS (JSON Web Key Sets) from a public URI.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 297
This has the following advantages:
This has the following advantages:
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 298
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 299
1. The results are cached for performance.
1. The results are cached for performance.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 300
2. If an unrecognized key is requested, the cache is refreshed, to accomodate for key rotation.
2. If an unrecognized key is requested, the cache is refreshed, to accomodate for key rotation.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 301
3. If rate limiting is enabled, the JWKS URI will not make more than 10 requests a second.
3. If rate limiting is enabled, the JWKS URI will not make more than 10 requests a second.
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 302
FreddleSpl0it
about 3 years ago
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 303
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 304
use Firebase\JWT\CachedKeySet;
use Firebase\JWT\CachedKeySet;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 305
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 306
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 307
// The URI for the JWKS you wish to cache the results from
// The URI for the JWKS you wish to cache the results from
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 308
$jwksUri = 'https://www.gstatic.com/iap/verify/public_key-jwk';
$jwksUri = 'https://www.gstatic.com/iap/verify/public_key-jwk';
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 309
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 310
// Create an HTTP client (can be any PSR-7 compatible HTTP client)
// Create an HTTP client (can be any PSR-7 compatible HTTP client)
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 311
$httpClient = new GuzzleHttp\Client();
$httpClient = new GuzzleHttp\Client();
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 312
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 313
// Create an HTTP request factory (can be any PSR-17 compatible HTTP request factory)
// Create an HTTP request factory (can be any PSR-17 compatible HTTP request factory)
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 314
$httpFactory = new GuzzleHttp\Psr\HttpFactory();
$httpFactory = new GuzzleHttp\Psr\HttpFactory();
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 315
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 316
// Create a cache item pool (can be any PSR-6 compatible cache item pool)
// Create a cache item pool (can be any PSR-6 compatible cache item pool)
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 317
$cacheItemPool = Phpfastcache\CacheManager::getInstance('files');
$cacheItemPool = Phpfastcache\CacheManager::getInstance('files');
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 318
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 319
$keySet = new CachedKeySet(
$keySet = new CachedKeySet(
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 320
$jwksUri,
$jwksUri,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 321
$httpClient,
$httpClient,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 322
$httpFactory,
$httpFactory,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 323
$cacheItemPool,
$cacheItemPool,
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 324
null, // $expiresAfter int seconds to set the JWKS to expire
null, // $expiresAfter int seconds to set the JWKS to expire
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 325
true // $rateLimit true to enable rate limit of 10 RPS on lookup of invalid keys
true // $rateLimit true to enable rate limit of 10 RPS on lookup of invalid keys
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 326
);
);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 327
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 328
$jwt = 'eyJhbGci...'; // Some JWT signed by a key from the $jwkUri above
$jwt = 'eyJhbGci...'; // Some JWT signed by a key from the $jwkUri above
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 329
$decoded = JWT::decode($jwt, $keySet);
$decoded = JWT::decode($jwt, $keySet);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 330
```
```
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 331
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 332
Miscellaneous
Miscellaneous
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 333
-------------
-------------
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 334
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 335
#### Exception Handling
#### Exception Handling
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 336
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 337
When a call to `JWT::decode` is invalid, it will throw one of the following exceptions:
When a call to `JWT::decode` is invalid, it will throw one of the following exceptions:
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 338
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 339
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 340
use Firebase\JWT\JWT;
use Firebase\JWT\JWT;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 341
use Firebase\JWT\SignatureInvalidException;
use Firebase\JWT\SignatureInvalidException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 342
use Firebase\JWT\BeforeValidException;
use Firebase\JWT\BeforeValidException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 343
use Firebase\JWT\ExpiredException;
use Firebase\JWT\ExpiredException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 344
use DomainException;
use DomainException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 345
use InvalidArgumentException;
use InvalidArgumentException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 346
use UnexpectedValueException;
use UnexpectedValueException;
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 347
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 348
try {
try {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 349
$decoded = JWT::decode($payload, $keys);
$decoded = JWT::decode($payload, $keys);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 350
} catch (InvalidArgumentException $e) {
} catch (InvalidArgumentException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 351
// provided key/key-array is empty or malformed.
// provided key/key-array is empty or malformed.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 352
} catch (DomainException $e) {
} catch (DomainException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 353
// provided algorithm is unsupported OR
// provided algorithm is unsupported OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 354
// provided key is invalid OR
// provided key is invalid OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 355
// unknown error thrown in openSSL or libsodium OR
// unknown error thrown in openSSL or libsodium OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 356
// libsodium is required but not available.
// libsodium is required but not available.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 357
} catch (SignatureInvalidException $e) {
} catch (SignatureInvalidException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 358
// provided JWT signature verification failed.
// provided JWT signature verification failed.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 359
} catch (BeforeValidException $e) {
} catch (BeforeValidException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 360
// provided JWT is trying to be used before "nbf" claim OR
// provided JWT is trying to be used before "nbf" claim OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 361
// provided JWT is trying to be used before "iat" claim.
// provided JWT is trying to be used before "iat" claim.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 362
} catch (ExpiredException $e) {
} catch (ExpiredException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 363
// provided JWT is trying to be used after "exp" claim.
// provided JWT is trying to be used after "exp" claim.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 364
} catch (UnexpectedValueException $e) {
} catch (UnexpectedValueException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 365
// provided JWT is malformed OR
// provided JWT is malformed OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 366
// provided JWT is missing an algorithm / using an unsupported algorithm OR
// provided JWT is missing an algorithm / using an unsupported algorithm OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 367
// provided JWT algorithm does not match provided key OR
// provided JWT algorithm does not match provided key OR
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 368
// provided key ID in key/key-array is empty or invalid.
// provided key ID in key/key-array is empty or invalid.
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 369
}
}
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 370
```
```
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 371
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 372
All exceptions in the `Firebase\JWT` namespace extend `UnexpectedValueException`, and can be simplified
All exceptions in the `Firebase\JWT` namespace extend `UnexpectedValueException`, and can be simplified
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 373
like this:
like this:
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 374
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 375
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 376
try {
try {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 377
$decoded = JWT::decode($payload, $keys);
$decoded = JWT::decode($payload, $keys);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 378
} catch (LogicException $e) {
} catch (LogicException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 379
// errors having to do with environmental setup or malformed JWT Keys
// errors having to do with environmental setup or malformed JWT Keys
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 380
} catch (UnexpectedValueException $e) {
} catch (UnexpectedValueException $e) {
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 381
// errors having to do with JWT signature and claims
// errors having to do with JWT signature and claims
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 382
}
}
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 383
```
```
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 384
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 385
#### Casting to array
#### Casting to array
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 386
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 387
The return value of `JWT::decode` is the generic PHP object `stdClass`. If you'd like to handle with arrays
The return value of `JWT::decode` is the generic PHP object `stdClass`. If you'd like to handle with arrays
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 388
instead, you can do the following:
instead, you can do the following:
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 389
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 390
```php
```php
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 391
// return type is stdClass
// return type is stdClass
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 392
$decoded = JWT::decode($payload, $keys);
$decoded = JWT::decode($payload, $keys);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 393
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 394
// cast to array
// cast to array
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 395
$decoded = json_decode(json_encode($decoded), true);
$decoded = json_decode(json_encode($decoded), true);
same change
cee771a
[Web] update stevenmaguire/oauth2-keycloak and firebase/php-jwt
- Full commit hash
cee771a3fb0ab6f2c188b9d9a6ff51bfa65da328- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 396
```
```
FreddleSpl0it
over 3 years ago
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 397
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 398
Tests
Tests
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 399
-----
-----
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 400
Run the tests using phpunit:
Run the tests using phpunit:
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 401
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 402
```bash
```bash
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 403
$ pear install PHPUnit
$ pear install PHPUnit
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 404
$ phpunit --configuration phpunit.xml.dist
$ phpunit --configuration phpunit.xml.dist
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 405
PHPUnit 3.7.10 by Sebastian Bergmann.
PHPUnit 3.7.10 by Sebastian Bergmann.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 406
.....
.....
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 407
Time: 0 seconds, Memory: 2.50Mb
Time: 0 seconds, Memory: 2.50Mb
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 408
OK (5 tests, 5 assertions)
OK (5 tests, 5 assertions)
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 409
```
```
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 410
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 411
New Lines in private keys
New Lines in private keys
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 412
-----
-----
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 413
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 414
If your private key contains `\n` characters, be sure to wrap it in double quotes `""`
If your private key contains `\n` characters, be sure to wrap it in double quotes `""`
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 415
and not single quotes `''` in order to properly interpret the escaped characters.
and not single quotes `''` in order to properly interpret the escaped characters.
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 416
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 417
License
License
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 418
-------
-------
same change
cd3660a
[Web] add oauth2-keycloak lib
- Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 419
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).