sso authentication & controller & manager

v1.0.3 2025-02-05 04:44 UTC

This package is auto-updated.

Last update: 2025-04-05 06:03:26 UTC


README

sso for accounts.engenesis.com

PHP Version Require Total Downloads License Github All Releases

Installation

Run the following command to install the latest applicable version of the package:

    composer require zaman-tech/sso

Setup:

add this lines to your .env file:

    ENGENESES_APP_ID=app_id
    ENGENESIS_APP_SECRET=app_secret
    ENGENESIS_APP_URL=app_url

publish config package:

    php artisan vendor:publish --tag=zaman-tech-config

Use:

    use ZamanTech\Sso\Http\Controllers\SsoController;
    
    
    $sso = new SsoController($validated['code']);
    $content = $sso->getContent();
    $userDetails = $sso->getUserDetails();
    $userInfo = $sso->getUserInfo();

License

Package is open-sourced software licensed under the MIT license.