All language subtitles for 4. Installation of Sanctum Package & Settings

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:01,290 --> 00:00:09,600 Welcome to the course of lovely material, this is part number 20 inside this feed, you will see sanctum 2 00:00:09,600 --> 00:00:12,470 package settings if I go back to slide. 3 00:00:13,080 --> 00:00:17,340 So in the last video so far inside is fees to parliament. 4 00:00:17,550 --> 00:00:24,230 We had done all about Prosek's settings, Migration's models and EPA control settings. 5 00:00:24,780 --> 00:00:30,180 Now, this time, we will configure and do settings for sanctum authentication. 6 00:00:31,320 --> 00:00:38,490 So to install center package inside this project, what we have inside is epiphytes to first of all, 7 00:00:38,670 --> 00:00:42,570 really a few very simple, simple computer commands. 8 00:00:43,260 --> 00:00:50,270 By the help of those commands, we can configure Sainte-Anne package inside this process setup if I 9 00:00:50,290 --> 00:00:58,080 back to slide and as we can see that I have listed all the commands, what we will see inside is feed 10 00:00:58,080 --> 00:00:58,510 you. 11 00:00:59,550 --> 00:01:06,570 So first of all, we need to install Sanctum package via this computer command composer Iqua that I 12 00:01:06,600 --> 00:01:14,730 will forward sanctum when we in this command, it will install a sanctum package inside this Prozac's 13 00:01:14,730 --> 00:01:15,390 setup. 14 00:01:16,200 --> 00:01:22,940 If I back to slide now, next we to publish our sanctum configuration for Prosek setup. 15 00:01:23,580 --> 00:01:31,470 So by running this partition ventor bubblies provider, by doing these simply we will create sanctums 16 00:01:31,470 --> 00:01:38,700 configuration file inside our config folder as well as we will create our migration file. 17 00:01:39,780 --> 00:01:46,430 So a state by state will see that how can we do sanctums package settings inside a Laravel Prozac. 18 00:01:46,920 --> 00:01:48,860 So first of all, we to install that. 19 00:01:49,200 --> 00:01:53,340 So if I copy this computer command, add one more thing. 20 00:01:53,580 --> 00:02:00,270 All these commands I will provide into the description of this feature, you can simply go copy and 21 00:02:00,270 --> 00:02:04,560 paste and execute inside this second phase of development. 22 00:02:05,100 --> 00:02:12,570 So if I will copy this command back terminal, currently we inside this EPA phase two pressing enter 23 00:02:13,290 --> 00:02:18,210 as we can see that now we are installing sancta package so successfully. 24 00:02:18,210 --> 00:02:24,300 Now, we had done that now in the next room to publish our sanctum configurations. 25 00:02:24,720 --> 00:02:34,050 So if I copy this command back to terminal, clear this console, putting it here, pressing enter. 26 00:02:34,320 --> 00:02:39,420 And as we can see that now we have done the settings inside this migration's folder. 27 00:02:39,600 --> 00:02:45,330 It means this command has published a migration file as well as inside config folder. 28 00:02:45,540 --> 00:02:47,940 We have Sanctum to be. 29 00:02:48,660 --> 00:02:56,010 So if we go inside our project, setup this like restructure, go inside config folder and here we have 30 00:02:56,160 --> 00:02:56,790 sanctums. 31 00:02:56,790 --> 00:03:02,430 What BHP this is the configuration file of sanctum authentication package. 32 00:03:03,720 --> 00:03:05,460 Go inside this database folder. 33 00:03:05,460 --> 00:03:08,190 Migration's now inside this folder. 34 00:03:08,400 --> 00:03:14,850 We should see one more migration we have, which is something create personal access tokens. 35 00:03:15,510 --> 00:03:22,680 And this migration file is created when we had an installation of our sanctum package, as well as when 36 00:03:22,680 --> 00:03:25,710 we had published all these additions command. 37 00:03:26,460 --> 00:03:33,930 So simply copy this command because we are going to migrate the migration, what we had created. 38 00:03:33,930 --> 00:03:34,560 So copy this. 39 00:03:34,560 --> 00:03:37,890 Come on back to terminal, pasting it here. 40 00:03:39,030 --> 00:03:44,760 Now, as you can see that now we have created a table called Create Personal Access Tokens. 41 00:03:45,180 --> 00:03:50,940 So if I go inside this database, reload the safety structure and as you can see that now we have a 42 00:03:50,940 --> 00:03:53,580 table called personal access to guns. 43 00:03:54,960 --> 00:04:02,160 So in the next, what we have to do, we to update it, our service provider file by default, when 44 00:04:02,160 --> 00:04:08,010 we installed our setup, this line, this piece of line, what we are seeing is commented. 45 00:04:08,310 --> 00:04:15,240 So first of all, we need to uncommented this line so where we can find Roud service, Boiro file back 46 00:04:15,240 --> 00:04:22,410 to project setup, go inside this app provider's folder and inside this road service provider. 47 00:04:24,390 --> 00:04:29,220 As you can see that we have a line here and this is by default commented. 48 00:04:29,760 --> 00:04:32,010 So we need to make uncommented of that. 49 00:04:32,580 --> 00:04:33,480 We had done. 50 00:04:34,200 --> 00:04:36,720 Now, next, we need to update model. 51 00:04:37,800 --> 00:04:41,730 So as you can see that inside is second phase of parliament. 52 00:04:41,880 --> 00:04:43,620 We have to model. 53 00:04:43,980 --> 00:04:51,150 The first model is pointing towards this student stable, which is student model, and the second we 54 00:04:51,150 --> 00:04:53,700 have for the project stable called Prozac. 55 00:04:54,030 --> 00:04:59,840 So in which model we need to update these settings so that. 56 00:05:00,090 --> 00:05:07,470 Model, which will be used for authentication in that model, will do these configuration, so as we 57 00:05:07,470 --> 00:05:15,320 know that, for example, the student is student stable means student model is operating with authentication. 58 00:05:15,900 --> 00:05:22,740 It means its remote controller will have the method of registration, login, profile and logout. 59 00:05:23,100 --> 00:05:29,160 So by the help of student model, the will to registration and student authentication. 60 00:05:29,520 --> 00:05:33,780 So inside student model, we need to do all these settings. 61 00:05:34,770 --> 00:05:41,580 So first of all, inside student model, we need to import this has API tokens and finally, we need 62 00:05:41,580 --> 00:05:44,910 to actually include this straight inside class. 63 00:05:45,420 --> 00:05:53,150 So simply back to present setup, close this file Greenside app modules student ARTPOP. 64 00:05:53,850 --> 00:06:04,080 So at the first step, if I copy this, use command, go here and pasting it here and in the next we 65 00:06:04,090 --> 00:06:12,720 to include this has API tokens so copy putting a comma here after has factory and pasting it here. 66 00:06:13,200 --> 00:06:17,790 All we have done after adding this you can see we have a radical error. 67 00:06:17,800 --> 00:06:19,740 So don't worry at all about this error. 68 00:06:19,860 --> 00:06:23,040 It will work perfectly so successfully. 69 00:06:23,040 --> 00:06:29,520 Guys, inside this video we had done all the settings of Sanctum package inside these Losada. 70 00:06:29,970 --> 00:06:36,150 Now the next video will create all about all episodes so far this session. 71 00:06:36,150 --> 00:06:38,410 Guys, thanks for watching and have a great day. 7736

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