diegosm/keycloak-admin
最新稳定版本:v1.6.0
Composer 安装命令:
composer require diegosm/keycloak-admin
包简介
PHP Library for Keycloak REST API management
README 文档
README
PHP Library for Keycloak Rest API management
Documentation
The documentation of this project is available at https://keycloak-admin-documentation.readthedocs.io/en/latest/
Installation
composer require diegosm/keycloak-admin
Configure
First of all create a client on master realm, with name like manager-cli of type confidential and need to enable Service Accounts.
You will use to manage your realm, and log in with client_credential grant type.
There have a factory for create keycloakadmin, put there your configuration:
$keycloakAdmin = KeycloakAdminFactory::create( $username, // your confidential client name $password, // the client secret $url // default root url like http://keycloak:8080/auth );
To do list (Not ordered by priority)
- Create role composites
- Review and make tests for all exceptions.
- Make realm extra endpoints (i.e. clear sessions).
- Change User access from array to a Class.
Create representation classes
- AuthenticationFlowRepresentation (could be used on realm)
- AuthenticatorConfigRepresentation (could be used on realm)
- ClientScopeRepresentation (could be used on realm)
- IdentityProviderMapperRepresentation (could be used on realm)
- UserFederationMappers (could be used on realm)
统计信息
- 总下载量: 2.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-06