Hossien-Salamhe / sso

sso for accounts.engenesis.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sso

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.

About

sso for accounts.engenesis.com/

License:MIT License


Languages

Language:PHP 100.0%