Download the PHP package khbd/laravel-wso2-identity-api-user without Composer
On this page you can find all versions of the php package khbd/laravel-wso2-identity-api-user. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download khbd/laravel-wso2-identity-api-user
More information about khbd/laravel-wso2-identity-api-user
Files in khbd/laravel-wso2-identity-api-user
Package laravel-wso2-identity-api-user
Short Description Laravel wso2 identity api user is a Laravel Package for WSO2 IDP user
License MIT
Informations about the package laravel-wso2-identity-api-user
Laravel WSO2 Identity API User
This is a Laravel library to manage WSO2 IDP users.
Installation
You can install the package via composer:
Laravel Usage
The package will register itself automatically.
Then publish the package configuration file
or
Lumen Usage
For Lumen usage the service provider should be registered manually as follow in bootstrap/app.php:
Copy IdpUser file to config directory. Then add the bellow text to the bootstrap/app.php:
Usage
Check the config file of all variables required, and then
or using Facade
or using helper
Create you SDK
Run this command to create your own sdk class.
Now add the class in config idpUser.php config file.
API references
Here all covered API references
- Get Wso2 IDP User by ID
or to get only response body
Here -
optional
set your custom SDK.
optional
return only response from IDP server/end API
return response as array
return response as object
return response as json
Create IDP user and get created user info
- Update User By User ID
you can provide single field or multiple field at the same time
here id
and username
is mendatory. You can provide following field to update & create -
Key | Data Type | Details |
---|---|---|
first_name | string | Update givenName |
last_name | string | [Update familyName |
password | string | Update password |
Update emails |
||
mobile | string | Update phoneNumbers |
user_type | integer | Update userType |
birthdate | ISO_OFFSET_DATE_TIME [2018-10-03T07:24:14.772+03:00] | [Update familyName |
account_disable | boolean | Update accountDisabled |
account_lock | boolean | Update accountLocked |
account_state | string | Update accountState |
department | string | Update department |
organization | string | Update organization |
country | string | Update country |
4. Delete single/bulk IDP User
provide user single id
to delete single user or provide array of user id
to delete bulk user from IDP
here - $userID
can be single user ID or array of user ID.
5. Reset password of users
user api, do not need admin permission
as a param pass a array of user crediantials like following example -
5. find user list
query users from IDP
as a param pass a array of filter like following example -
Adding new Gateway
.env Config
So .env config is following -
Contributing
Suggestions, pull requests , bug reporting and code improvements are all welcome. Feel free.
TODO
Write Tests
Credits
License
The MIT License (MIT). Please see License File for more information.