Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Welcome to the course of lovely material, this is part number 20 inside this feed, you will see sanctum
package settings if I go back to slide.
So in the last video so far inside is fees to parliament.
We had done all about Prosek's settings, Migration's models and EPA control settings.
Now, this time, we will configure and do settings for sanctum authentication.
So to install center package inside this project, what we have inside is epiphytes to first of all,
really a few very simple, simple computer commands.
By the help of those commands, we can configure Sainte-Anne package inside this process setup if I
back to slide and as we can see that I have listed all the commands, what we will see inside is feed
you.
So first of all, we need to install Sanctum package via this computer command composer Iqua that I
will forward sanctum when we in this command, it will install a sanctum package inside this Prozac's
setup.
If I back to slide now, next we to publish our sanctum configuration for Prosek setup.
So by running this partition ventor bubblies provider, by doing these simply we will create sanctums
configuration file inside our config folder as well as we will create our migration file.
So a state by state will see that how can we do sanctums package settings inside a Laravel Prozac.
So first of all, we to install that.
So if I copy this computer command, add one more thing.
All these commands I will provide into the description of this feature, you can simply go copy and
paste and execute inside this second phase of development.
So if I will copy this command back terminal, currently we inside this EPA phase two pressing enter
as we can see that now we are installing sancta package so successfully.
Now, we had done that now in the next room to publish our sanctum configurations.
So if I copy this command back to terminal, clear this console, putting it here, pressing enter.
And as we can see that now we have done the settings inside this migration's folder.
It means this command has published a migration file as well as inside config folder.
We have Sanctum to be.
So if we go inside our project, setup this like restructure, go inside config folder and here we have
sanctums.
What BHP this is the configuration file of sanctum authentication package.
Go inside this database folder.
Migration's now inside this folder.
We should see one more migration we have, which is something create personal access tokens.
And this migration file is created when we had an installation of our sanctum package, as well as when
we had published all these additions command.
So simply copy this command because we are going to migrate the migration, what we had created.
So copy this.
Come on back to terminal, pasting it here.
Now, as you can see that now we have created a table called Create Personal Access Tokens.
So if I go inside this database, reload the safety structure and as you can see that now we have a
table called personal access to guns.
So in the next, what we have to do, we to update it, our service provider file by default, when
we installed our setup, this line, this piece of line, what we are seeing is commented.
So first of all, we need to uncommented this line so where we can find Roud service, Boiro file back
to project setup, go inside this app provider's folder and inside this road service provider.
As you can see that we have a line here and this is by default commented.
So we need to make uncommented of that.
We had done.
Now, next, we need to update model.
So as you can see that inside is second phase of parliament.
We have to model.
The first model is pointing towards this student stable, which is student model, and the second we
have for the project stable called Prozac.
So in which model we need to update these settings so that.
Model, which will be used for authentication in that model, will do these configuration, so as we
know that, for example, the student is student stable means student model is operating with authentication.
It means its remote controller will have the method of registration, login, profile and logout.
So by the help of student model, the will to registration and student authentication.
So inside student model, we need to do all these settings.
So first of all, inside student model, we need to import this has API tokens and finally, we need
to actually include this straight inside class.
So simply back to present setup, close this file Greenside app modules student ARTPOP.
So at the first step, if I copy this, use command, go here and pasting it here and in the next we
to include this has API tokens so copy putting a comma here after has factory and pasting it here.
All we have done after adding this you can see we have a radical error.
So don't worry at all about this error.
It will work perfectly so successfully.
Guys, inside this video we had done all the settings of Sanctum package inside these Losada.
Now the next video will create all about all episodes so far this session.
Guys, thanks for watching and have a great day.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.