Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel - Restful API with Passport Authentication
Rating: 4.3 out of 5(118 ratings)
1,406 students

Laravel - Restful API with Passport Authentication

Learn to create Restful API's and at the same time Authenticate them
Last updated 10/2018
English

What you'll learn

  • Students will learn to create Restful API's and Authenticate with Passport

Course content

1 section13 lectures1h 14m total length
  • Introduction6:08

    Edwin D.S. shares his coding journey from age 13 and his passion for technology and helping others, framing this Laravel course around practical software development and teaching.

  • Reference files0:06
  • Connecting Database, Migrating and Package Install4:57

    Install Laravel Passport via Composer. Migrate the database to create access tokens, personal access clients, and clients tables, then configure Passport for secure RESTful APIs.

  • Setting Up Passport and Routes8:16
  • Creating Our Register Method Par 16:57

    Create a register method by validating input (including password confirmation), then creating a new user with a unique email and an encrypted password using bcrypt, and returning a JSON response.

  • Creating Our Register Method Par 213:42
  • Creating Our Login Functionality Part 15:15

    Learn to implement login for a Laravel rest API with Passport authentication, including registering users, validating credentials, handling remember me, and returning JSON responses with proper status codes.

  • Creating Our Login Functionality Part 24:50

    Develop login functionality in a Laravel Restful API using Passport authentication, retrieve the user from the request, and create a talking record with API tokens enabled on the user model.

  • Creating Our Login Functionality Part 36:31

    Develop a practical login api using Laravel Passport, implementing remember me, token handling, and json responses, while practicing testing and debugging in the next lecture.

  • Creating Our Login Functionality Part 43:26
  • Creating Our Logout Feature8:11
  • Creating Our User and Testing it4:01

    Build a Laravel RESTful API first, returning the authenticated user as JSON, and test with a bearer token. Create routes for register, login, logout, and user (or profile).

  • Conclusion2:36

    Celebrate completing the Laravel - Restful API with Passport Authentication course, stay motivated to keep learning, earn your certificate, and share feedback to improve and inspire others.

Requirements

  • Laravel Intermediate Knowledge is required

Description

In this course you will learn to build Restful API's with Laravel and at the same time we are learning about Passport / oAuth. This course is small and every lecture is short and right to the point so that you can get what you want fast.

Taking this course will allow you to jump a different level in the Laravel world and give you extra knowledge employers are looking for.

Are you ready to to take it to another level? The let's do it!

Who this course is for:

  • Any student wishing to learn how to create Restful API's with Laravel should take this course
  • Any student wishing to learn how to use Passport Auth should take this course