All language subtitles for 6. Create API Routes & Sanctum Route Grouping

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,400 --> 00:00:07,810 OK, he's found the cause of Lavallade EPA Dalip mystery, and this is all part of a 22 insider feed, 2 00:00:07,810 --> 00:00:10,940 you will see EPA's out configuration. 3 00:00:11,710 --> 00:00:20,440 If I go back to Ed in the last video, what we had done, we had simply created our controller methods 4 00:00:20,950 --> 00:00:27,050 for methods inside Esposa Controller and formatters inside his student controller. 5 00:00:27,520 --> 00:00:37,030 Now this time, to use these methods, we want EPA rules so to register EPA rules, go inside road school 6 00:00:37,030 --> 00:00:39,730 to open up the file called EPA dot. 7 00:00:39,780 --> 00:00:44,140 VTP now inside this file will create EPA roads. 8 00:00:44,440 --> 00:00:47,680 So first of all, we need to import our two controllers. 9 00:00:47,830 --> 00:00:48,820 That is use. 10 00:00:49,240 --> 00:00:52,750 It's a student controller also. 11 00:00:52,750 --> 00:00:58,360 We won't use those that controller so successfully now we have imported. 12 00:00:58,840 --> 00:01:01,560 Now we need to create EPA rules here. 13 00:01:02,320 --> 00:01:09,970 So first of all, we need to create or register out solitaries out and a teacher out should be called 14 00:01:09,970 --> 00:01:11,350 via forced request. 15 00:01:11,350 --> 00:01:20,620 I supposed to register bussing in any inside this, let's say, student controller. 16 00:01:21,160 --> 00:01:27,490 It's a class and from a student controller, first of all, it's create all the rules. 17 00:01:27,790 --> 00:01:29,830 Then we will map the methods. 18 00:01:30,610 --> 00:01:32,650 Next we'll have log in. 19 00:01:34,920 --> 00:01:43,380 And finally, these two roads need not any authentication, we can tightly call, but when we use other 20 00:01:43,380 --> 00:01:50,250 roads like profile logout, all the rules of procedure will need some authentication. 21 00:01:50,970 --> 00:01:59,290 So to actually wrap all those roads inside a group and inside that group will use Sanctum Middleville. 22 00:02:00,330 --> 00:02:03,780 So what I will do simply will create a road group. 23 00:02:04,590 --> 00:02:17,280 So group here bussing in every Middleville, we will use bussing in Herry and we will use AWT Sanctum 24 00:02:18,270 --> 00:02:26,820 when we do the Sandton package settings inside this Brozak so well settings we have Autobytel, we installed 25 00:02:26,970 --> 00:02:28,320 Sanctum Middleville. 26 00:02:29,190 --> 00:02:37,200 So when we trap all the roads inside this group, it means those roads will be protected via ORed sanctum. 27 00:02:37,680 --> 00:02:43,290 It will take that via passing any authorized sanctum, token or not. 28 00:02:43,920 --> 00:02:49,020 If yes, then it will go and we will be able to access all those roads. 29 00:02:50,070 --> 00:02:54,000 Otherwise we will get an air of something unauthenticated. 30 00:02:54,450 --> 00:02:58,690 We will see also how the process request in upcoming videos. 31 00:02:59,010 --> 00:03:04,440 So right now, register and login need not any authentication, but other roads. 32 00:03:05,320 --> 00:03:07,500 Let's create a Clouzot function. 33 00:03:11,620 --> 00:03:19,120 Now, inside is the first authenticated episode, we want something broader profile, so Routt. 34 00:03:22,450 --> 00:03:35,320 It will be get regressed a little profile and inside this will use student controller EINER Seconds 35 00:03:35,320 --> 00:03:36,710 will map the method. 36 00:03:37,890 --> 00:03:44,080 Also we warned logout using get request type. 37 00:03:46,680 --> 00:03:53,940 These are the roads we have configured for student control are now next week to clear the roads from 38 00:03:54,200 --> 00:03:57,840 the controller so he'll out. 39 00:03:58,710 --> 00:04:04,650 We can't we won't create projects or create hyphen Prozac. 40 00:04:05,130 --> 00:04:08,840 It will use the controller called Prusak Controller. 41 00:04:09,870 --> 00:04:10,870 It's a class. 42 00:04:11,580 --> 00:04:13,650 We will map the method here. 43 00:04:13,950 --> 00:04:15,210 And one more thing. 44 00:04:15,600 --> 00:04:19,410 When we create project, then add the situation we need. 45 00:04:19,620 --> 00:04:21,080 Borst request type. 46 00:04:22,290 --> 00:04:26,610 So if I copy this, go here in the next we need. 47 00:04:26,610 --> 00:04:30,400 If you if I go back to the EPA list here we have Prusak create. 48 00:04:30,420 --> 00:04:32,430 We had done Brozak list. 49 00:04:32,700 --> 00:04:36,870 So inside this Prozac list it will be get request type. 50 00:04:37,590 --> 00:04:42,380 So here get and this is list HyperMED Prozac. 51 00:04:43,530 --> 00:04:51,060 After that we need the EPA Routt let's say for getting single Prozac detail and for the single Prozac 52 00:04:51,060 --> 00:04:51,510 detail. 53 00:04:51,690 --> 00:04:54,530 We need Prozac it into Eurail. 54 00:04:54,930 --> 00:04:57,330 Also we have done Dode settings. 55 00:04:57,570 --> 00:05:04,860 If I back to Controller Cohill and as you can see that while getting this single product information, 56 00:05:04,860 --> 00:05:06,800 we need Prozac ID. 57 00:05:07,200 --> 00:05:09,510 So go he'll get request I. 58 00:05:10,800 --> 00:05:14,130 It will be single from Prozac at the world. 59 00:05:14,400 --> 00:05:16,080 We need Prozac idy. 60 00:05:16,770 --> 00:05:19,200 And finally, one more matter. 61 00:05:19,200 --> 00:05:27,790 We need something that is Dilli Typhon Prozac Salita delete and this time we will use delete request 62 00:05:27,810 --> 00:05:29,670 I so delete hyphen Prozac. 63 00:05:29,940 --> 00:05:34,530 We need to pass it here and the mother will use for that. 64 00:05:35,070 --> 00:05:36,060 Delete Prozac. 65 00:05:36,060 --> 00:05:46,080 So if I copy and paste here for single Prozac, we need to use this method copy and paste for list Prozac. 66 00:05:46,230 --> 00:05:52,290 This is the method copy and paste for Prozac. 67 00:05:52,410 --> 00:05:55,320 I will copy and pasting it here. 68 00:05:55,800 --> 00:06:01,600 Now if I open all about Control Student Controller to get the idea of my thoughts. 69 00:06:01,600 --> 00:06:03,120 So here we have a register. 70 00:06:05,250 --> 00:06:13,120 Copy and paste, copy this log in my third copy and paste to get at the profile. 71 00:06:13,650 --> 00:06:18,690 This is the profile methode and next we have the look out method. 72 00:06:20,700 --> 00:06:26,490 So successfully, guys, as we can see here, we have all the roads from that. 73 00:06:26,790 --> 00:06:34,740 These two have no authentication, but all these roads like profile logo, all roads of Prozac needs 74 00:06:34,890 --> 00:06:40,830 sanctum authentication and all these roads now protected from a group. 75 00:06:40,830 --> 00:06:48,510 Middleville All Sanctum and this Middleville is available when we had configured and installed center 76 00:06:48,510 --> 00:06:51,500 package instead inside our setup. 77 00:06:52,080 --> 00:06:55,650 So from the next feed, you guys will walk over these matters. 78 00:06:55,650 --> 00:06:58,920 But we have configured here so far this video session. 79 00:06:58,920 --> 00:07:01,260 Guys, thank you for watching and have a great day. 7590

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.