Laravel Sanctum API for Admin and User Roles: Complete Setup Guide [HINDI]

  Рет қаралды 783

Ajay yadav

Ajay yadav

Ай бұрын

Welcome to our comprehensive tutorial on setting up a Laravel Sanctum API with admin and user role management! In this video, we'll guide you through the process of configuring Laravel Sanctum to handle role-based authentication and authorization for your web application.
In this tutorial, you will learn:
How to install and set up Laravel Sanctum.
How to create and manage admin and user roles.
How to protect your routes and controllers using Sanctum middleware.
Best practices for implementing role-based access control (RBAC) in Laravel.
Tips for securing your API endpoints and ensuring robust authentication.
Whether you're building a simple web application or a complex system with multiple user roles, this tutorial will provide you with the knowledge and tools to implement a secure and efficient authentication system using Laravel Sanctum.
Laravel Sanctum API for Admin and User Roles: Complete Setup Guide [HINDI]
Our Playlists:
OOP In PHP:
• OOP - PHP
Git Full Tutorial
• GIT Tutorial
Laravel 9:
• Laravel 9
Vue 3 Laravel 9 Tutorial:
• Vue 3 Laravel 9
Laravel Testing:
• Laravel Testing
Nuxt Js
• NuxtJS
Laravel And Vuejs
• Laravel And Vuejs
Laravel Notifications:
• Laravel Notification
Laravel And React Js
• Laravel ReactJs
Laravel Interview Questions And Answers:
• Laravel Interview Ques...
Laravel User Management System:
• Laravel User Managemen...
Laravel Multi Auth System
• Laravel Multi Auth System
Laravel Vue3 GraphQL
• Laravel Vue 3 GraphQL
Follow us:
YoutTube: / ajayyadavexpo
Instagram: / ajayyadavexpo
Twitter : / ajayyadavexpo
Linkedin: / ajayyadavexpo
Github: github.com/ajayyadavexpo
Please subscribe to my channel and share the video with your friends.
#laravel #sanctum #laravel11Sanctum #laravel11

Пікірлер: 7
@manishsajandasani3739
@manishsajandasani3739 Ай бұрын
No doubt, you are a Laravel Magician.
@ajay-yadav
@ajay-yadav Ай бұрын
Wow, thanks! That means a lot.
@aktarzia7782
@aktarzia7782 Ай бұрын
Sir pleas make Laravel and react crud operation video
@ajay-yadav
@ajay-yadav Ай бұрын
ok i'll try
@mubeenmughal1881
@mubeenmughal1881 Ай бұрын
sir g. menay alag alag 2 table banaye hain. admin and user ka is main menay middleware ko bana ha. (AdminAuthenticate) if (!Auth::guard('admin')->user()) { return response()->json(['response_message' => 'Unauthenticated.'], 401); } nai chal raha h. aur mujhe (USERS, ADMIN ) dono k. (Guard, Auth) chahiye. kis tarhan bano. is main guide kardain. Please...
@ajay-yadav
@ajay-yadav Ай бұрын
'api' => [ 'driver' => 'sanctum', 'provider' => 'users', ], 'admin' => [ 'driver' => 'sanctum', 'provider' => 'admins', ], please check config /auth.php
@sehzadaaalam313
@sehzadaaalam313 Ай бұрын
Laravel API ka full course upload kare
Laravel SPA Authentication - setup and common mistakes
16:55
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 13 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Laravel Sanctum SPA Auth Overview
13:34
cdruc
Рет қаралды 7 М.
Laravel 11 API from Scratch | Full Tutorial for Beginners [HINDI]
54:36
Laravel 11 API in 13 minutes | Sanctum
13:49
WebDevWithArtisan
Рет қаралды 10 М.
Laravel 8 REST API With Sanctum Authentication
54:13
Traversy Media
Рет қаралды 542 М.