openseawave/keycloak
最新稳定版本:v1.0.7
Composer 安装命令:
composer require openseawave/keycloak
包简介
The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.
关键字:
README 文档
README
The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.
Installation
You can install the package via composer:
composer require openseawave/keycloak
You can publish the config file with:
php artisan vendor:publish --tag="keycloak-config"
Usage
you can use it like this:
use Openseawave\Keycloak\Keycloak; use OpenSeaWave\Keycloak\Enums\GrantType; $keycloak = new Keycloak( baseUrl: 'http://localhost:8080', username: 'admin', password: 'admin', grantType: GrantType::PASSWORD, clientId: 'admin-cli', ); $keycloak->getUsers();
Also you can use it using Laravel Facade:
use Openseawave\Keycloak\Facades\Keycloak; Keycloak::getUsers();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 915
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-19