Download the PHP package nue-extensions/sso-samarinda without Composer

On this page you can find all versions of the php package nue-extensions/sso-samarinda. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sso-samarinda

SSO-Samarinda untuk Nue

Integrasi SSO-Samarinda ke aplikasi kamu.

ss-sso-samarinda

Instalasi

  1. Install via Composer :

  2. Munculin menu SSO-Samarinda ini di sidebar Nue :

  3. Update table users

Perintah ini akan menyisipkan field baru dengan nama uid dalam tabel users kamu. Kamu bisa menambahkan field uid secara manual tanpa harus menggunakan perintah ini.

Konfigurasi

Tambahin konfigurasi extension berikut di dalam file konfigurasi config/nue.php kayak gini:

Penggunaan

  1. Setelah melakukan konfigurasi diatas, kamu bisa menambahkan 3 opsi baru dalam file env kamu :

SSO_SERVER_URL berisi URI dari SSO Samarinda. SSO_BROKER_NAME dan SSO_BROKER_SECRET harus diisi sesuai dengan data aplikasi yang didaftarkan di https://sso.samarindakota.go.id.

  1. Kustom Middleware bawaan SSO-Samarinda :

Apabila dalam implementasinya Anda ingin melakukan penyimpanan sesi atau melakukan manipulasi pada models User, Anda juga bisa melakukan custom pada middleware yang telah disediakan. Contohnya:

a) Buat Middleware Baru

b) Extend Default Middleware ke Custom Middleware

c) Edit Kernel.php

  1. Implementasi pada Views

a) Login

b) Logout

c) Manual Usage (Optional)

Untuk penggunaan secara manual, Anda bisa menyisipkan potongan script berikut kedalam fungsi login dan logout pada class controller Anda.

Lisensi

SSO-Samarinda ini dikembangin dengan Lisensi MIT. Artinya kamu bebas menggunakannya baik untuk kepentingan pribadi maupun komersil. Enjoy!


All versions of sso-samarinda with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
novay/nue Version ^3.0
zefy/php-simple-sso Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nue-extensions/sso-samarinda contains the following files

Loading the files please wait ....