atmaliance / yii2-atm-keycloak-entity
Package
Installs: 48
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.4
- devatmaliance/keycloak-admin-client: 0.*
- doctrine/annotations: ^1.13
- phpdocumentor/reflection-docblock: ^5.3
- symfony/property-access: ^5.4
- symfony/property-info: ^5.4
- symfony/serializer: ^5.4
- yiisoft/yii2: 2.*
Requires (Dev)
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2025-02-17 15:34:37 UTC
README
Что нужно сделать?
Необходимо добавить код в следующих местах:
Файл common/config/main.php
return [ 'components' => [ 'keycloakEntityManager' => [ 'class' => \atmaliance\yii2_keycloak_entity\KeycloakEntityManager::class, ], ], ];
Файл common/config/main-local.php
return [ 'components' => [ 'keycloakEntityManager' => [ 'realm' => 'master', 'baseUrl' => 'http://localhost:8180', 'username' => 'admin', 'password' => '1234', ], ], ];