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
Guys, welcome to the course of Lavallade app developers material, this is our partner.
Twenty six inside the suite you will see.
Look out Epper inside last video we had seen the concept of student profile epper inside this profile
methode.
We had used all type of function and from the odd helper function.
By the help of token, we had to try the user information.
Now this time we will walk over this logout API logout API means to delete the access token means the
Zanten token what we have generated.
So go inside is look out methode.
In the last we have seen that this is the token we need to pass to to get overtaxes over this profile
API.
But inside logout API simply will delete this token so that this token will be invalid after logout
back ed going inside this logout method.
So simply what we will do by the help of OT helper function, we will try all this information and from
the user information tokens simply, we will delete that.
Try to understand this line.
This is hot helper function by the help of all the help a function really driving user information.
It means by the help of Sanctum token from the user information we are deleting.
It's all tokens here.
We can see that.
So this is the line.
This line means that we are deleting the currently logged in user tokens and simply let the return response.
Jason MacKean every little status equals to one and a message.
Student, no, out successfully.
Now, if you save all these things, go inside, it ought to be so vile calling logout EPA read to pass
authentication token inside header here out.
So back to post.
Man, if I copy this, you all open into a new tab and for the logout API to request I want something
retrogressed I.
Back to post, man, so instead of profile, let's say logout and Reverend, we past attraction Haddo.
So what I will do, I will copy this bill to convert.
We have generated inside this last video.
This is of value Tolkan.
So I have copied here.
Go inside this Hadass and if I type authorization automatically this key will be populated.
So this is our token nonathletic content type application.
Chasten, accept.
Except.
This is not accept language, simply accept here we have the option and it will be application.
Jason Samenow inside this logo, DPA and also inside last profile API.
We have passed these three headers automation content type and accept.
So when we click on this send button, this logout API will hit, logout mattered and this laut mattered
on the behalf of Tolkan.
What we have passed inside this header, it will retrieve the user information from that information.
It will delete the token and locked out the student from the system.
So if I click on this send button, as you can see, that student logged out successfully.
If I backed this profile in the last video, this took token had worked.
Now, as we can see that these token we have deleted inside this logout API, this token is now invalid.
So if I click on this send button, as you can see, that unauthenticated are keen to make use this
user login into the system, asking me to pass the email address and a password because this token is
invalid.
Click on send button streambed Lockton successfully.
Now if I copy this token goal here inside this profile Epper passing here inside this header, pasting
it here, click on Send Button.
And this is all about student profile information.
Now at the time of logout, simply the same token we to pass inside the header of this load API click
on send button student logged out successfully.
It means we have deleted all the tokens of this user.
Go to profile API.
I can click on Send Button and unauthenticated.
It means the user has been locked out.
So step by step guys, we had seen the concept of registration, login, profile and logout API from
the next video.
We will start for the other roads like we need to create project list, project, single project and
delete Pursat.
All these roads while calling all these Aptos we need to pass s.m Tolkan Inside header 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.