0
I developed an api in Laravel
. It’s all right, it’s all working.
The Front-End
is being developed in Angular
. I would like to know if there is any method provided by passport
for validation of acess token
.
Example: Angular has a token
=> Sends the Api => Api (Laravel
) validates whether it is a token
valid => Returns sim
or não
.
For this would be necessary after the token spiral time, thus needing to generate a new.
I’m using Ubuntu 18.04.4 LTS
and Laravel Framework 6.17.1
That’s what I wanted. And it’s the
backend
even if it will validate. Thefrontend
will only send and receive the reply.– Luiz Roberto Furtuna