Download the PHP package boldogteam/login without Composer

On this page you can find all versions of the php package boldogteam/login. 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 login

Laravel Auth0 Plugin

CircleCI Latest Stable Version License Total Downloads FOSSA Status

This plugin helps you integrate your Laravel WebApp with Auth0 to achieve Single Sign On with a few simple steps.

Supported Framework Versions

Our plugin maintains support for all actively supported versions of the Laravel framework, including 6.X (LTS), 7.X and 8.X.

Past releases of our plugin may potentially run on earlier, now unsupported versions of the Laravel framework, but these releases are not maintained. The final release of our plugin to support the Laravel 5.X series was 6.1.0.

Documentation

Please see the Laravel webapp quickstart for a complete guide on how to install this in an existing project or to download a pre-configured sample project. Additional documentation on specific scenarios is below.

Setting up a JWKs cache

In the register method of your AppServiceProvider add:

You can implement your own cache strategy by creating a new class that implements the Auth0\SDK\Helpers\Cache\CacheHandler contract, or just use the cache strategy you want by picking that store with Cache::store('your_store_name');

Storing users in your database

You can customize the way you handle the users in your application by creating your own UserRepository. This class should implement the Auth0\Login\Contract\Auth0UserRepository contract. Please see the Custom User Handling section of the Laravel Quickstart for the latest example.

Using auth guard

To protect APIs using an access token generated by Auth0, there is an auth0 API guard provided (Laravel documentation on guards). To use this guard, add it to config/auth.php with the driver auth0:

Once that has been added, add the guard to the middleware of any API route and check authentication during the request:

Examples

Organizations (Closed Beta)

Organizations is a set of features that provide better support for developers who build and maintain SaaS and Business-to-Business (B2B) applications.

Using Organizations, you can:

Note that Organizations is currently only available to customers on our Enterprise and Startup subscription plans.

Logging in with an Organization

Open your Auth0 Laravel plugin configuration file (usually config/laravel-auth0.php) uncomment the organization optiion and specify the Id for your Organization (found in your Organization settings on the Auth0 Dashboard.)

From there, the Organization will automatically be used throughout your Laravel application's authentication login, including redirecting to the Universal Login page.

Accepting user invitations

Auth0 Organizations allow users to be invited using emailed links, which will direct a user back to your application. The URL the user will arrive at is based on your configured Application Login URI, which you can change from your Application's settings inside the Auth0 dashboard.

When the user arrives at your application using an invite link, you can expect three query parameters to be provided: invitation, organization, and organization_name. These will always be delivered using a GET request.

A helper function is provided to handle extracting these query parameters and automatically redirecting to the Universal Login page. Invoke this from your application's logic, such as a controller for an authentication route, to handle this process automatically.

Installation

Install this plugin into a new or existing project using Composer:

Additional steps to install can be found in the quickstart.

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Support + Feedback

Include information on how to get support. Consider adding:

What is Auth0?

Auth0 helps you to easily:

Why Auth0?

License

The Auth0 Laravel Login plugin is licensed under MIT - LICENSE

FOSSA Status


All versions of login with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 | ^8.0
ext-json Version *
ext-openssl Version *
auth0/auth0-php Version ^7.7
illuminate/support Version ^6.0 | ^7.0 | ^8.0
illuminate/contracts Version ^6.0 | ^7.0 | ^8.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 boldogteam/login contains the following files

Loading the files please wait ....