Download the PHP package teamupdivision/saltid-provider without Composer
On this page you can find all versions of the php package teamupdivision/saltid-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamupdivision/saltid-provider
More information about teamupdivision/saltid-provider
Files in teamupdivision/saltid-provider
Package saltid-provider
Short Description SaltId auth
License MIT
Homepage https://www.saltship.com/
Informations about the package saltid-provider
Provider auth SaltId
# Documentation * [Setup & install](#setup-&-install) * [How to use SaltId package in monolith](#how-to-use-saltid-package-in-monolith) * [How to use SaltId package in API](#how-to-use-saltid-package-in-api) * [How to use SaltId in manual mode](#how-to-use-saltid-in-manual-mode) * [Important functions](#important-functions-on-user-entity) # Setup & Install ### 1. Put in config/services.php ### 2. Put credentials in your .env file: Obs. These are generated from SaltId User Management ### 3. Create routes: ### 4. Install package Run `composer require teamupdivision/saltid-provider` # How to use SaltId package in monolith ### Create your controller that manages sso auth SaltId with functions: - import package : - `use Teamupdivision\SaltId\Facades\SaltId;` - create `redirect` function: - create `callback` function: # How to use SaltId package in API ### Create your controller that manages sso auth SaltId with functions: - import package : - `use Teamupdivision\SaltId\Facades\SaltId;` - create `redirect` function: - create `callback` function: # How to use SaltId in manual mode ### Create your controller that manages sso auth SaltId with functions: - create `redirect` function: - create `callback` function: # Important functions on user entity | Function name | Result | | ------------- | ------------- | | getName() | Get user first name and last name from SaltId | | getEmail() | Get user email from SaltId | | getRole() | Get user role from SaltId | | getCompany() | Get user company from SaltId | | getRaw() | Get full profile of user from SaltId |
All versions of saltid-provider with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^6.0|^7.0
illuminate/contracts Version ^6.0|^7.0|^8.0|^9.0|^10.0
illuminate/http Version ^6.0|^7.0|^8.0|^9.0|^10.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0