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/stevenmaguire/oauth2-keycloak/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 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
1
# Keycloak Provider for OAuth 2.0 Client
Open commit View diff
1 # Keycloak Provider for OAuth 2.0 Client
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
2
[![Latest Version](https://img.shields.io/github/release/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://github.com/stevenmaguire/oauth2-keycloak/releases)
Open commit View diff
2 [![Latest Version](https://img.shields.io/github/release/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://github.com/stevenmaguire/oauth2-keycloak/releases)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
Open commit View diff
3 [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4
[![Build Status](https://img.shields.io/travis/stevenmaguire/oauth2-keycloak/master.svg?style=flat-square)](https://travis-ci.org/stevenmaguire/oauth2-keycloak)
Open commit View diff
4 [![Build Status](https://img.shields.io/travis/stevenmaguire/oauth2-keycloak/master.svg?style=flat-square)](https://travis-ci.org/stevenmaguire/oauth2-keycloak)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://scrutinizer-ci.com/g/stevenmaguire/oauth2-keycloak/code-structure)
Open commit View diff
5 [![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://scrutinizer-ci.com/g/stevenmaguire/oauth2-keycloak/code-structure)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6
[![Quality Score](https://img.shields.io/scrutinizer/g/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://scrutinizer-ci.com/g/stevenmaguire/oauth2-keycloak)
Open commit View diff
6 [![Quality Score](https://img.shields.io/scrutinizer/g/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://scrutinizer-ci.com/g/stevenmaguire/oauth2-keycloak)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
7
[![Total Downloads](https://img.shields.io/packagist/dt/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://packagist.org/packages/stevenmaguire/oauth2-keycloak)
Open commit View diff
7 [![Total Downloads](https://img.shields.io/packagist/dt/stevenmaguire/oauth2-keycloak.svg?style=flat-square)](https://packagist.org/packages/stevenmaguire/oauth2-keycloak)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
8
Open commit View diff
8
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
9
This package provides Keycloak OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).
Open commit View diff
9 This package provides Keycloak OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
10
Open commit View diff
10
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
11
## Installation
Open commit View diff
11 ## Installation
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
To install, use composer:
Open commit View diff
13 To install, use composer:
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
```
Open commit View diff
15 ```
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 stevenmaguire/oauth2-keycloak
Open commit View diff
16 composer require stevenmaguire/oauth2-keycloak
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
## Usage
Open commit View diff
19 ## Usage
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
20
Open commit View diff
20
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
21
Usage is the same as The League's OAuth client, using `\Stevenmaguire\OAuth2\Client\Provider\Keycloak` as the provider.
Open commit View diff
21 Usage is the same as The League's OAuth client, using `\Stevenmaguire\OAuth2\Client\Provider\Keycloak` as the provider.
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
22
Open commit View diff
22
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
23
Use `authServerUrl` to specify the Keycloak server URL. You can lookup the correct value from the Keycloak client installer JSON under `auth-server-url`, eg. `http://localhost:8080/auth`.
Open commit View diff
23 Use `authServerUrl` to specify the Keycloak server URL. You can lookup the correct value from the Keycloak client installer JSON under `auth-server-url`, eg. `http://localhost:8080/auth`.
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
Use `realm` to specify the Keycloak realm name. You can lookup the correct value from the Keycloak client installer JSON under `resource`, eg. `master`.
Open commit View diff
25 Use `realm` to specify the Keycloak realm name. You can lookup the correct value from the Keycloak client installer JSON under `resource`, eg. `master`.
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
26
Open commit View diff
26
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
27
### Authorization Code Flow
Open commit View diff
27 ### Authorization Code Flow
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
28
Open commit View diff
28
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
29
```php
Open commit View diff
29 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
30
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
Open commit View diff
30 $provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
31
    'authServerUrl'         => '{keycloak-server-url}',
Open commit View diff
31 'authServerUrl' => '{keycloak-server-url}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
32
    'realm'                 => '{keycloak-realm}',
Open commit View diff
32 'realm' => '{keycloak-realm}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
33
    'clientId'              => '{keycloak-client-id}',
Open commit View diff
33 'clientId' => '{keycloak-client-id}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
34
    'clientSecret'          => '{keycloak-client-secret}',
Open commit View diff
34 'clientSecret' => '{keycloak-client-secret}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
35
    'redirectUri'           => 'https://example.com/callback-url',
Open commit View diff
35 'redirectUri' => 'https://example.com/callback-url',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
36
    'encryptionAlgorithm'   => 'RS256',                             // optional
Open commit View diff
36 'encryptionAlgorithm' => 'RS256', // optional
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
37
    'encryptionKeyPath'     => '../key.pem'                         // optional
Open commit View diff
37 'encryptionKeyPath' => '../key.pem' // optional
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
38
    'encryptionKey'         => 'contents_of_key_or_certificate'     // optional
Open commit View diff
38 'encryptionKey' => 'contents_of_key_or_certificate' // optional
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
39
    'version'               => '20.0.1',                            // optional
Open commit View diff
39 'version' => '20.0.1', // optional
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
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
Open commit View diff
41
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
42
if (!isset($_GET['code'])) {
Open commit View diff
42 if (!isset($_GET['code'])) {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
43
Open commit View diff
43
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
44
    // If we don't have an authorization code then get one
Open commit View diff
44 // If we don't have an authorization code then get one
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
45
    $authUrl = $provider->getAuthorizationUrl();
Open commit View diff
45 $authUrl = $provider->getAuthorizationUrl();
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
46
    $_SESSION['oauth2state'] = $provider->getState();
Open commit View diff
46 $_SESSION['oauth2state'] = $provider->getState();
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
47
    header('Location: '.$authUrl);
Open commit View diff
47 header('Location: '.$authUrl);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
48
    exit;
Open commit View diff
48 exit;
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
49
Open commit View diff
49
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
50
// Check given state against previously stored one to mitigate CSRF attack
Open commit View diff
50 // Check given state against previously stored one to mitigate CSRF attack
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
51
} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
Open commit View diff
51 } elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
52
Open commit View diff
52
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
53
    unset($_SESSION['oauth2state']);
Open commit View diff
53 unset($_SESSION['oauth2state']);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
54
    exit('Invalid state, make sure HTTP sessions are enabled.');
Open commit View diff
54 exit('Invalid state, make sure HTTP sessions are enabled.');
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
} else {
Open commit View diff
56 } else {
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
    // Try to get an access token (using the authorization coe grant)
Open commit View diff
58 // Try to get an access token (using the authorization coe grant)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
59
    try {
Open commit View diff
59 try {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
60
        $token = $provider->getAccessToken('authorization_code', [
Open commit View diff
60 $token = $provider->getAccessToken('authorization_code', [
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
61
            'code' => $_GET['code']
Open commit View diff
61 'code' => $_GET['code']
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
    } catch (Exception $e) {
Open commit View diff
63 } catch (Exception $e) {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
64
        exit('Failed to get access token: '.$e->getMessage());
Open commit View diff
64 exit('Failed to get access token: '.$e->getMessage());
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
65
    }
Open commit View diff
65 }
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
66
Open commit View diff
66
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
67
    // Optional: Now you have a token you can look up a users profile data
Open commit View diff
67 // Optional: Now you have a token you can look up a users profile data
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
68
    try {
Open commit View diff
68 try {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
69
Open commit View diff
69
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
70
        // We got an access token, let's now get the user's details
Open commit View diff
70 // We got an access token, let's now get the user's details
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
71
        $user = $provider->getResourceOwner($token);
Open commit View diff
71 $user = $provider->getResourceOwner($token);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
72
Open commit View diff
72
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
73
        // Use these details to create a new profile
Open commit View diff
73 // Use these details to create a new profile
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
74
        printf('Hello %s!', $user->getName());
Open commit View diff
74 printf('Hello %s!', $user->getName());
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
75
Open commit View diff
75
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
76
    } catch (Exception $e) {
Open commit View diff
76 } catch (Exception $e) {
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
77
        exit('Failed to get resource owner: '.$e->getMessage());
Open commit View diff
77 exit('Failed to get resource owner: '.$e->getMessage());
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
78
    }
Open commit View diff
78 }
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
79
Open commit View diff
79
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
80
    // Use this to interact with an API on the users behalf
Open commit View diff
80 // Use this to interact with an API on the users behalf
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
81
    echo $token->getToken();
Open commit View diff
81 echo $token->getToken();
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
82
}
Open commit View diff
82 }
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
83
```
Open commit View diff
83 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
84
Open commit View diff
84
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
85
### Refreshing a Token
Open commit View diff
85 ### Refreshing a Token
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
86
Open commit View diff
86
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
87
```php
Open commit View diff
87 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
88
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
Open commit View diff
88 $provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
89
    'authServerUrl'     => '{keycloak-server-url}',
Open commit View diff
89 'authServerUrl' => '{keycloak-server-url}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
90
    'realm'             => '{keycloak-realm}',
Open commit View diff
90 'realm' => '{keycloak-realm}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
91
    'clientId'          => '{keycloak-client-id}',
Open commit View diff
91 'clientId' => '{keycloak-client-id}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
92
    'clientSecret'      => '{keycloak-client-secret}',
Open commit View diff
92 'clientSecret' => '{keycloak-client-secret}',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
93
    'redirectUri'       => 'https://example.com/callback-url',
Open commit View diff
93 'redirectUri' => 'https://example.com/callback-url',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
94
]);
Open commit View diff
94 ]);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
95
Open commit View diff
95
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
96
$token = $provider->getAccessToken('refresh_token', ['refresh_token' => $token->getRefreshToken()]);
Open commit View diff
96 $token = $provider->getAccessToken('refresh_token', ['refresh_token' => $token->getRefreshToken()]);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
97
```
Open commit View diff
97 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
98
Open commit View diff
98
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
99
### Handling encryption
Open commit View diff
99 ### Handling encryption
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
100
Open commit View diff
100
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
101
If you've configured your Keycloak instance to use encryption, there are some advanced options available to you.
Open commit View diff
101 If you've configured your Keycloak instance to use encryption, there are some advanced options available to you.
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
102
Open commit View diff
102
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
103
#### Configure the provider to use the same encryption algorithm
Open commit View diff
103 #### Configure the provider to use the same encryption algorithm
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
104
Open commit View diff
104
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
105
```php
Open commit View diff
105 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
106
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
Open commit View diff
106 $provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
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
    'encryptionAlgorithm'   => 'RS256',
Open commit View diff
108 'encryptionAlgorithm' => 'RS256',
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
109
]);
Open commit View diff
109 ]);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
110
```
Open commit View diff
110 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
111
Open commit View diff
111
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
112
or
Open commit View diff
112 or
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
113
Open commit View diff
113
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
114
```php
Open commit View diff
114 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
115
$provider->setEncryptionAlgorithm('RS256');
Open commit View diff
115 $provider->setEncryptionAlgorithm('RS256');
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
116
```
Open commit View diff
116 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
117
Open commit View diff
117
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
118
#### Configure the provider to use the expected decryption public key or certificate
Open commit View diff
118 #### Configure the provider to use the expected decryption public key or certificate
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
119
Open commit View diff
119
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
120
##### By key value
Open commit View diff
120 ##### By key value
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
121
Open commit View diff
121
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
122
```php
Open commit View diff
122 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
123
$key = "-----BEGIN PUBLIC KEY-----\n....\n-----END PUBLIC KEY-----";
Open commit View diff
123 $key = "-----BEGIN PUBLIC KEY-----\n....\n-----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
124
// or
Open commit View diff
124 // or
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
125
// $key = "-----BEGIN CERTIFICATE-----\n....\n-----END CERTIFICATE-----";
Open commit View diff
125 // $key = "-----BEGIN CERTIFICATE-----\n....\n-----END CERTIFICATE-----";
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
126
Open commit View diff
126
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
127
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
Open commit View diff
127 $provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
128
    // ...
Open commit View diff
128 // ...
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
129
    'encryptionKey'   => $key,
Open commit View diff
129 'encryptionKey' => $key,
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
130
]);
Open commit View diff
130 ]);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
131
```
Open commit View diff
131 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
132
Open commit View diff
132
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
133
or
Open commit View diff
133 or
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
134
Open commit View diff
134
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
135
```php
Open commit View diff
135 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
136
$provider->setEncryptionKey($key);
Open commit View diff
136 $provider->setEncryptionKey($key);
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
Open commit View diff
138
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
139
##### By key path
Open commit View diff
139 ##### By key path
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
140
Open commit View diff
140
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
141
```php
Open commit View diff
141 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
142
$keyPath = '../key.pem';
Open commit View diff
142 $keyPath = '../key.pem';
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
143
Open commit View diff
143
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
144
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
Open commit View diff
144 $provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
145
    // ...
Open commit View diff
145 // ...
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
146
    'encryptionKeyPath'   => $keyPath,
Open commit View diff
146 'encryptionKeyPath' => $keyPath,
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
147
]);
Open commit View diff
147 ]);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
148
```
Open commit View diff
148 ```
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
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
150
or
Open commit View diff
150 or
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
151
Open commit View diff
151
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
152
```php
Open commit View diff
152 ```php
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
153
$provider->setEncryptionKeyPath($keyPath);
Open commit View diff
153 $provider->setEncryptionKeyPath($keyPath);
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
154
```
Open commit View diff
154 ```
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
155
Open commit View diff
155
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
156
## Testing
Open commit View diff
156 ## Testing
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
157
Open commit View diff
157
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
158
``` bash
Open commit View diff
158 ``` bash
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
159
$ ./vendor/bin/phpunit
Open commit View diff
159 $ ./vendor/bin/phpunit
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
160
```
Open commit View diff
160 ```
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
## Contributing
Open commit View diff
162 ## Contributing
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
163
Open commit View diff
163
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
164
Please see [CONTRIBUTING](https://github.com/stevenmaguire/oauth2-keycloak/blob/master/CONTRIBUTING.md) for details.
Open commit View diff
164 Please see [CONTRIBUTING](https://github.com/stevenmaguire/oauth2-keycloak/blob/master/CONTRIBUTING.md) for details.
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
## Credits
Open commit View diff
167 ## Credits
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
168
Open commit View diff
168
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
169
- [Steven Maguire](https://github.com/stevenmaguire)
Open commit View diff
169 - [Steven Maguire](https://github.com/stevenmaguire)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
170
- [Martin Stefan](https://github.com/mstefan21)
Open commit View diff
170 - [Martin Stefan](https://github.com/mstefan21)
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
171
- [All Contributors](https://github.com/stevenmaguire/oauth2-keycloak/contributors)
Open commit View diff
171 - [All Contributors](https://github.com/stevenmaguire/oauth2-keycloak/contributors)
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
## License
Open commit View diff
174 ## License
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
175
Open commit View diff
175
same change cd3660a

[Web] add oauth2-keycloak lib

Full commit hash
cd3660a96d4cfb7158ede6a282378de23bbac98e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
176
The MIT License (MIT). Please see [License File](https://github.com/stevenmaguire/oauth2-keycloak/blob/master/LICENSE) for more information.
Open commit View diff
176 The MIT License (MIT). Please see [License File](https://github.com/stevenmaguire/oauth2-keycloak/blob/master/LICENSE) for more information.