NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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
![Build Status](https://github.com/firebase/php-jwt/actions/workflows/tests.yml/badge.svg)
Open commit View diff
1 ![Build Status](https://github.com/firebase/php-jwt/actions/workflows/tests.yml/badge.svg)
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
[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt)
Open commit View diff
2 [![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](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
[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt)
Open commit View diff
3 [![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](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
[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt)
Open commit View diff
4 [![License](https://poser.pugx.org/firebase/php-jwt/license)](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
Open commit View diff
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
Open commit View diff
6 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
=======
Open commit View diff
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).
Open commit View diff
8 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
Open commit View diff
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
Open commit View diff
10 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
------------
Open commit View diff
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
Open commit View diff
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:
Open commit View diff
13 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
Open commit View diff
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
Open commit View diff
15 ```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
Open commit View diff
16 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
19 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:
Open commit View diff
20 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
Open commit View diff
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
Open commit View diff
22 ```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
Open commit View diff
23 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
26 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
-------
Open commit View diff
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
Open commit View diff
28 ```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;
Open commit View diff
29 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;
Open commit View diff
30 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
Open commit View diff
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';
Open commit View diff
32 $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 = [
Open commit View diff
33 $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',
Open commit View diff
34 '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',
Open commit View diff
35 '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,
Open commit View diff
36 '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
Open commit View diff
37 '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
];
Open commit View diff
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
Open commit View diff
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
/**
Open commit View diff
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:
Open commit View diff
41 * 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
Open commit View diff
42 * 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
Open commit View diff
43 * 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.
Open commit View diff
44 * 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
 */
Open commit View diff
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');
Open commit View diff
46 $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'));
Open commit View diff
47 $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
Open commit View diff
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);
Open commit View diff
49 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
Open commit View diff
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
/*
Open commit View diff
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
Open commit View diff
52 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:
Open commit View diff
53 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
*/
Open commit View diff
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
Open commit View diff
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;
Open commit View diff
56 $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
Open commit View diff
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
/**
Open commit View diff
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
Open commit View diff
59 * 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
Open commit View diff
60 * 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.
Open commit View diff
61 * 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
 *
Open commit View diff
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
Open commit View diff
63 * 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
 */
Open commit View diff
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
Open commit View diff
65 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'));
Open commit View diff
66 $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
```
Open commit View diff
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
Open commit View diff
68 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
-------
Open commit View diff
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
Open commit View diff
70 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.
Open commit View diff
71 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
Open commit View diff
72 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 
Open commit View diff
73 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 
Open commit View diff
74 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:
Open commit View diff
75 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
Open commit View diff
76 ```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;
Open commit View diff
77 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
Open commit View diff
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';
Open commit View diff
79 $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 = [
Open commit View diff
80 $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',
Open commit View diff
81 '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',
Open commit View diff
82 '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,
Open commit View diff
83 '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
Open commit View diff
84 '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
];
Open commit View diff
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
Open commit View diff
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 = [
Open commit View diff
87 $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'
Open commit View diff
88 '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
];
Open commit View diff
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
Open commit View diff
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
Open commit View diff
91 // 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);
Open commit View diff
92 $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
Open commit View diff
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
Open commit View diff
94 // 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.
Open commit View diff
95 // **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.
Open commit View diff
96 // 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);
Open commit View diff
97 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);
Open commit View diff
98 $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
Open commit View diff
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);
Open commit View diff
100 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
```
Open commit View diff
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)
Open commit View diff
102 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
----------------------------
Open commit View diff
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
Open commit View diff
104 ```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;
Open commit View diff
105 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;
Open commit View diff
106 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
Open commit View diff
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
Open commit View diff
108 $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-----
Open commit View diff
109 -----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
Open commit View diff
110 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
Open commit View diff
111 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
Open commit View diff
112 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
Open commit View diff
113 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
Open commit View diff
114 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
Open commit View diff
115 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
Open commit View diff
116 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
Open commit View diff
117 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
Open commit View diff
118 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
Open commit View diff
119 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
Open commit View diff
120 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
Open commit View diff
121 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
Open commit View diff
122 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
Open commit View diff
123 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
Open commit View diff
124 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
Open commit View diff
125 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
Open commit View diff
126 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
Open commit View diff
127 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
Open commit View diff
128 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
Open commit View diff
129 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
Open commit View diff
130 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
Open commit View diff
131 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
Open commit View diff
132 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
Open commit View diff
133 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
Open commit View diff
134 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-----
Open commit View diff
135 -----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;
Open commit View diff
136 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
Open commit View diff
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
Open commit View diff
138 $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-----
Open commit View diff
139 -----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
Open commit View diff
140 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
Open commit View diff
141 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
Open commit View diff
142 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
Open commit View diff
143 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
Open commit View diff
144 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
Open commit View diff
145 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
Open commit View diff
146 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-----
Open commit View diff
147 -----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;
Open commit View diff
148 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
Open commit View diff
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 = [
Open commit View diff
150 $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',
Open commit View diff
151 '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',
Open commit View diff
152 '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,
Open commit View diff
153 '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
Open commit View diff
154 '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
];
Open commit View diff
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
Open commit View diff
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');
Open commit View diff
157 $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";
Open commit View diff
158 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
Open commit View diff
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'));
Open commit View diff
160 $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
Open commit View diff
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
/*
Open commit View diff
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
Open commit View diff
163 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:
Open commit View diff
164 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
*/
Open commit View diff
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
Open commit View diff
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;
Open commit View diff
167 $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";
Open commit View diff
168 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
171 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
-------------------------
Open commit View diff
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
Open commit View diff
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
Open commit View diff
174 ```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;
Open commit View diff
175 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;
Open commit View diff
176 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
Open commit View diff
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
Open commit View diff
178 // 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]';
Open commit View diff
179 $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
Open commit View diff
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
Open commit View diff
181 // 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"
Open commit View diff
182 // 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';
Open commit View diff
183 $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
Open commit View diff
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"
Open commit View diff
185 // 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(
Open commit View diff
186 $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),
Open commit View diff
187 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
Open commit View diff
188 $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
);
Open commit View diff
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
Open commit View diff
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 = [
Open commit View diff
191 $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',
Open commit View diff
192 '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',
Open commit View diff
193 '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,
Open commit View diff
194 '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
Open commit View diff
195 '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
];
Open commit View diff
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
Open commit View diff
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');
Open commit View diff
198 $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";
Open commit View diff
199 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
Open commit View diff
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.
Open commit View diff
201 // 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'];
Open commit View diff
202 $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
Open commit View diff
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'));
Open commit View diff
204 $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";
Open commit View diff
205 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
```
Open commit View diff
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
Open commit View diff
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)
Open commit View diff
208 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
----------------------------
Open commit View diff
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
Open commit View diff
210 ```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;
Open commit View diff
211 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;
Open commit View diff
212 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
Open commit View diff
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
Open commit View diff
214 // 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
Open commit View diff
215 // 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
Open commit View diff
216 // 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.
Open commit View diff
217 // 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
Open commit View diff
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();
Open commit View diff
219 $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
Open commit View diff
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));
Open commit View diff
221 $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
Open commit View diff
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));
Open commit View diff
223 $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
Open commit View diff
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 = [
Open commit View diff
225 $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',
Open commit View diff
226 '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',
Open commit View diff
227 '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,
Open commit View diff
228 '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
Open commit View diff
229 '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
];
Open commit View diff
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
Open commit View diff
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');
Open commit View diff
232 $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";
Open commit View diff
233 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
Open commit View diff
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'));
Open commit View diff
235 $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";
Open commit View diff
236 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
````
Open commit View diff
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
Open commit View diff
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
Open commit View diff
239 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
--------------------------
Open commit View diff
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
Open commit View diff
241 ```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;
Open commit View diff
242 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;
Open commit View diff
243 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
Open commit View diff
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
Open commit View diff
245 // 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 = '...';
Open commit View diff
246 // $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 = '...';
Open commit View diff
247 // $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
Open commit View diff
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
Open commit View diff
249 // 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 = '...';
Open commit View diff
250 // $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 = '...';
Open commit View diff
251 // $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
Open commit View diff
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 = [
Open commit View diff
253 $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',
Open commit View diff
254 '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',
Open commit View diff
255 '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,
Open commit View diff
256 '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
Open commit View diff
257 '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
];
Open commit View diff
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
Open commit View diff
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');
Open commit View diff
260 $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');
Open commit View diff
261 $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";
Open commit View diff
262 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";
Open commit View diff
263 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
Open commit View diff
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 = [
Open commit View diff
265 $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'),
Open commit View diff
266 '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'),
Open commit View diff
267 '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
];
Open commit View diff
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
Open commit View diff
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);
Open commit View diff
270 $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);
Open commit View diff
271 $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
Open commit View diff
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";
Open commit View diff
273 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";
Open commit View diff
274 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
277 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
----------
Open commit View diff
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
Open commit View diff
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
Open commit View diff
280 ```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;
Open commit View diff
281 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;
Open commit View diff
282 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
Open commit View diff
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
Open commit View diff
284 // 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
Open commit View diff
285 // 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' => []];
Open commit View diff
286 $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
Open commit View diff
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
Open commit View diff
288 // 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.
Open commit View diff
289 // 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));
Open commit View diff
290 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
293 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
---------------------
Open commit View diff
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
Open commit View diff
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.
Open commit View diff
296 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:
Open commit View diff
297 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
Open commit View diff
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.
Open commit View diff
299 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.
Open commit View diff
300 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.
Open commit View diff
301 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
Open commit View diff
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
Open commit View diff
303 ```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;
Open commit View diff
304 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;
Open commit View diff
305 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
Open commit View diff
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
Open commit View diff
307 // 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';
Open commit View diff
308 $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
Open commit View diff
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)
Open commit View diff
310 // 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();
Open commit View diff
311 $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
Open commit View diff
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)
Open commit View diff
313 // 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();
Open commit View diff
314 $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
Open commit View diff
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)
Open commit View diff
316 // 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');
Open commit View diff
317 $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
Open commit View diff
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(
Open commit View diff
319 $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,
Open commit View diff
320 $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,
Open commit View diff
321 $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,
Open commit View diff
322 $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,
Open commit View diff
323 $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
Open commit View diff
324 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
Open commit View diff
325 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
);
Open commit View diff
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
Open commit View diff
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
Open commit View diff
328 $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);
Open commit View diff
329 $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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
332 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
-------------
Open commit View diff
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
Open commit View diff
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
Open commit View diff
335 #### 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
Open commit View diff
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:
Open commit View diff
337 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
Open commit View diff
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
Open commit View diff
339 ```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;
Open commit View diff
340 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;
Open commit View diff
341 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;
Open commit View diff
342 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;
Open commit View diff
343 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;
Open commit View diff
344 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;
Open commit View diff
345 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;
Open commit View diff
346 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
Open commit View diff
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 {
Open commit View diff
348 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);
Open commit View diff
349 $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) {
Open commit View diff
350 } 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.
Open commit View diff
351 // 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) {
Open commit View diff
352 } 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
Open commit View diff
353 // 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
Open commit View diff
354 // 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
Open commit View diff
355 // 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.
Open commit View diff
356 // 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) {
Open commit View diff
357 } 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.
Open commit View diff
358 // 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) {
Open commit View diff
359 } 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
Open commit View diff
360 // 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.
Open commit View diff
361 // 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) {
Open commit View diff
362 } 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.
Open commit View diff
363 // 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) {
Open commit View diff
364 } 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
Open commit View diff
365 // 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
Open commit View diff
366 // 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
Open commit View diff
367 // 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.
Open commit View diff
368 // 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
}
Open commit View diff
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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
372 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:
Open commit View diff
373 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
Open commit View diff
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
Open commit View diff
375 ```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 {
Open commit View diff
376 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);
Open commit View diff
377 $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) {
Open commit View diff
378 } 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
Open commit View diff
379 // 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) {
Open commit View diff
380 } 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
Open commit View diff
381 // 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
}
Open commit View diff
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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
385 #### 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
Open commit View diff
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
Open commit View diff
387 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:
Open commit View diff
388 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
Open commit View diff
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
Open commit View diff
390 ```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
Open commit View diff
391 // 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);
Open commit View diff
392 $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
Open commit View diff
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
Open commit View diff
394 // 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);
Open commit View diff
395 $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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
398 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
-----
Open commit View diff
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:
Open commit View diff
400 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
Open commit View diff
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
Open commit View diff
402 ```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
Open commit View diff
403 $ 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
Open commit View diff
404 $ 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.
Open commit View diff
405 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
.....
Open commit View diff
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
Open commit View diff
407 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)
Open commit View diff
408 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
```
Open commit View diff
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
Open commit View diff
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
Open commit View diff
411 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
-----
Open commit View diff
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
Open commit View diff
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 `""`
Open commit View diff
414 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.
Open commit View diff
415 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
Open commit View diff
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
Open commit View diff
417 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
-------
Open commit View diff
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).
Open commit View diff
419 [3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).