ویرگول
ورودثبت نام
aloapi
aloapi
خواندن ۲ دقیقه·۲ سال پیش

Introducing Laravel Passport

In the aftermath of the Oauth and Laravel Passport period, we reached the Larval Passport section. In this section, we are trying to teach the famous Larval Package that can easily set up an OAUTH server.

The Larval Framework makes it easy to authenticate through traditional forms of login using Authentication, but it is slightly different for APIs. APIs usually use token to verify users’ credentials and do not maintain session status between requests. Larval Provides API authentication using Laravel Passport, which provides full execution of the OAUTH 2.0 server for applications within minutes.

As we introduced in the OAUTH GONTS section in the past seasons, we want to introduce the equivalent of licenses in OAUTH2.0, in this section we want to introduce them to Laravel Passport and say how this package has been able to support each method.

Probably if you are Larval, this section will be very attractive to you, but we will take this section with a simple and practical example that you can use even if you are not advanced in Larval. To do this, we have prepared a simple, small project of Larval and you just have to download and start it. The project is a Todo program that currently uses Larval Authentication and the user has a page that can add a task, determine or delete it.

In the course of the course, we set up an OAUTH server and specify the Access Token process for a client. We also teach the scons, or the access range specified for each access token, and in the following sections we will expand the application project with a variety of licenses that have been prevented in Laravel Passport.

You may like to learn Laravel Passport more and deeper. At the end of this course we will teach advanced and customizable topics in Laravel Passport.

Given that today’s projects based on mobile apps or working with advanced JavaScript frameworks, often work with APIs, remembering the Larval Passport to support Backend is an important advantage. Because it enhances the security of the app and uses a standard protocol. This advantage, of course, is along with other useful Larval capabilities.

for you.....
شاید از این پست‌ها خوشتان بیاید