GithubHelp home page GithubHelp logo

support laravel multi auth about apiato HOT 3 CLOSED

apiato avatar apiato commented on July 19, 2024
support laravel multi auth

from apiato.

Comments (3)

Mahmoudz avatar Mahmoudz commented on July 19, 2024

Hi @engAhmad what do you mean by multi auth?
We do support authentication for API's using JWT. and authentication for Web using the default Laravel auth. In addition we do also support social authentication for the API.

from apiato.

engAhmad avatar engAhmad commented on July 19, 2024

Authentication Drivers / "Multi-Auth"

from official documentation

In previous versions of Laravel, only the default, session-based authentication driver was supported out of the box, and you could not have more than one authenticatable model instance per application.

However, in Laravel 5.2, you may define additional authentication drivers as well define multiple authenticatable models or user tables, and control their authentication process separately from each other. For example, if your application has one database table for "admin" users and one database table for "student" users, you may now use the Auth methods to authenticate against each of these tables separately.

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

Ahh ok, if it's in Laravel 5.2 then it's supported. So the answer is yes, but I personally never used it.

from apiato.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.