Registry / auth / stevenmaguire-oauth2-keycloak

stevenmaguire-oauth2-keycloak

JSON →
library6.1.1phppackagistunverified

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

composer require stevenmaguire/oauth2-keycloak
INSTALL
IMPORT
SIG · STEVENMAGUIRE-OAUT
S
stevenmaguire-oauth2-keycloak
authphpv6.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Keycloak
use Stevenmaguire\OAuth2\Client\Provider\Keycloak;

Create a Keycloak OAuth2 provider and get authorization URL

use Stevenmaguire\OAuth2\Client\Provider\Keycloak; $provider = new Keycloak([ 'authServerUrl' => 'http://localhost:8080/auth', 'realm' => 'master', 'clientId' => 'myclient', 'clientSecret' => 'secret', 'redirectUri' => 'http://localhost/callback' ]); $authUrl = $provider->getAuthorizationUrl();
Debug
Known issues
breakingRequires PHP 7.1+
fix
Upgrade PHP to 7.1 or higher
affects: >=6.0.0
Upgrade
Version history
6.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
stevenmaguire-oauth2-keycloak — pip install stevenmaguire-oauth2-keycloak · libregistry